-
Notifications
You must be signed in to change notification settings - Fork 470
fix build issue and update agent prompts for DS V3.2 #476
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
Conversation
Update mppVersion in gradle.properties to use the latest release.
Switch model selector dropdown to Jewel's PopupMenu for correct z-index with SwingPanel. Enable custom popup rendering to fix Compose/Swing overlay issues. Auto-increment config names to avoid duplicates when saving.
Extend LiveTerminalItem to include exit code, execution time, and output parameters for enhanced terminal session details.
…ogWrapper Replaces the PromptOptimizationDialog with a new ModelConfigDialogWrapper and updates related usages for improved dialog management.
Refine and update agent documentation for clarity and accuracy.
Revamp English and Chinese system prompts for CodingAgentTemplate with improved structure, clearer guidelines, and more concise instructions, inspired by Augment Agent's design. This enhances usability and agent behavior consistency.
Revise task completion and tool usage strategies for clarity and efficiency in both English and Chinese. Emphasize focus, minimal exploration, and step-by-step guidance.
Introduce a new Gradle task and CLI entrypoint to run CodingAgent tasks from the command line. Includes a console renderer and configuration via ~/.autodev/config.yaml. Also clarifies CodingAgentTemplate completion instructions.
|
Caution Review failedThe pull request is closed. WalkthroughThis PR introduces a new CLI tool for running the CodingAgent, refactors IDE dialog components to use Jewel's PopupMenu renderer, creates a DialogWrapper-based model config dialog, removes the prompt optimization dialog, updates prompt templates with additional context, and bumps versions across the project. Changes
Sequence DiagramsequenceDiagram
participant User as User/CLI
participant CodingCli
participant ConfigMgr as ConfigManager
participant LLMSvc as LLMService
participant Agent as CodingAgent
participant Renderer as CodingCliRenderer
participant FS as Filesystem
User->>CodingCli: main(args)
CodingCli->>CodingCli: Parse projectPath, task, maxIterations
CodingCli->>ConfigMgr: Load ~/.autodev/config.yaml
ConfigMgr-->>CodingCli: NamedModelConfig
CodingCli->>LLMSvc: Initialize with active config
LLMSvc-->>CodingCli: Ready
CodingCli->>Agent: Create CodingAgent with LLMSvc
CodingCli->>Renderer: Attach renderer callback
rect rgb(240, 250, 240)
note over CodingCli, Renderer: Execution Loop
loop Each iteration
CodingCli->>Renderer: renderIterationHeader(current, max)
CodingCli->>Agent: Execute task step
Agent->>LLMSvc: Query LLM
LLMSvc-->>Agent: Response chunks
Agent->>Renderer: renderLLMResponseChunk(chunk)
opt Has tool call
Agent->>Renderer: renderToolCall(toolName, params)
Agent->>FS: Execute tool
FS-->>Agent: Result
Agent->>Renderer: renderToolResult(name, success, output)
end
end
end
CodingCli->>Renderer: renderTaskComplete()
Renderer-->>User: Final status & results
CodingCli->>User: Exit
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (13)
Comment |
Summary by CodeRabbit
Release Notes
New Features
Improvements
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.