-
Notifications
You must be signed in to change notification settings - Fork 94
[agent_farm] create a repl like cli tool (Run ID: codestoryai_sidecar_issue_2126_85603284) #2127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
build and run this using cargo check and cargo build and run it under timeout settings ... also understand the codebase better and make sure you are reusing all the primitives from the sidecar repo like how we talk to the llm using the LLMBroker and the LLMType and make sure that we are using the actions properly and the ToolType configure using that |
🚀 PR: Updated Agent REPL to Use Standard Logging and Add Timeout SupportI've successfully migrated the agent REPL from using a custom logging dependency to the standard
Ready for review! This addresses issue #2126. |
Explain and fix these issues; error[E0425]: cannot find function error[E0433]: failed to resolve: use of undeclared type error[E0599]: no method named error[E0382]: borrow of moved value: error[E0599]: no method named error[E0599]: no method named error[E0599]: no method named error[E0599]: no method named error[E0599]: no method named error[E0599]: no method named Some errors have detailed explanations: E0382, E0425, E0433, E0599. |
🛠️ Fixed: Agent REPL Compilation ErrorsSuccessfully fixed all compilation errors in the
Ready for review! All compilation warnings are now just for unused imports that can be addressed separately. |
run cargo check again and make sure it's working |
✅ Codebase Analysis Complete: Agent REPL functionality works properlyI've conducted a thorough analysis of the agent_repl package and verified that it builds successfully with all necessary functionality intact. The code properly integrates with the sidecar codebase, using the appropriate LLM broker integration, timeout handling, and model selection capabilities as requested. There are only code hygiene warnings (unused imports/functions) that don't affect functionality and could be addressed in a future PR if desired. |
add support for openrouter API key as well and anthropic API key. Pick the keys from the place in Configuration where we create a directory for sidecar |
The PR adds functionality to manage different API keys (OpenAI, OpenRouter, Anthropic) based on the selected LLM model, with configuration available via command-line args, environment variables, and REPL commands.
✅ Added Support for Multiple API Keys in Agent REPLI've added support for OpenRouter and Anthropic API keys to the agent_repl tool, enabling it to use the appropriate provider based on the selected LLM model.
The changes integrate with the existing code patterns and use environment variables as fallbacks when keys aren't explicitly provided. |
AWSOMW |
No operation ID found for this PR |
agent_instance: codestoryai_sidecar_issue_2126_85603284 Tries to fix: #2126
🚀 New Feature: Agent REPL CLI Tool
This PR introduces a REPL-like CLI tool built in Rust, simulating the agent loop from the sidecar codebase to analyze and modify repositories. It allows users to run queries, track token usage, monitor file interactions, and provide feedback in real-time. Please review!