Claude/issue 6 20250619 140914#7
Merged
Merged
Conversation
Co-authored-by: ai-poet <ai-poet@users.noreply.github.com>
…ation - Backend: Updated tasks.py to only accept "claude" model, completely refactored code_task_v2.py to remove Codex-specific logic and Docker configurations - Frontend: Removed Codex options from UI components, updated main page and settings to focus on Claude Code only - Documentation: Updated README.md to rebrand as "Claude Code UI" and remove all Codex references - Tests: Updated test script to only test Claude Code functionality - Project rebranding: Changed from multi-agent support to Claude Code-focused automation platform This change simplifies the codebase and focuses the project entirely on Claude Code integration as requested. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: ai-poet <ai-poet@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
This PR removes support for the Codex model and entirely focuses on Claude Code automation. Key changes include:
- Updating script messages, endpoints, and log messages to reference only Claude Code.
- Removing Codex-specific configuration and Dockerfile, as well as cleaning up UI components and documentation.
- Refactoring code to align with the new model constraint.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| test-model-selection.sh | Adjusted test messages to reflect only Claude support |
| server/utils/code_task_v2.py | Removed Codex support; updated log messages, container names |
| server/tasks.py | Updated validation to allow only "claude" |
| async-code-web/components/code-agent-settings.tsx | Removed Codex configuration settings from the UI |
| async-code-web/app/signin/page.tsx | Updated UI text to reflect Claude Code integration |
| async-code-web/app/page.tsx | Removed Codex icon and references from home page |
| README.md | Updated documentation to focus solely on Claude Code |
| Dockerfile.codex-automation | Removed file as Codex support is no longer needed |
Comments suppressed due to low confidence (2)
async-code-web/app/page.tsx:265
- Ensure that all UI components and flows referencing 'Codex' are fully removed or updated, so the interface consistently reflects the exclusive support for Claude Code.
case "claude": return <ClaudeIcon className="w-3 h-3" />;
| }' | ||
|
|
||
| echo -e "\n\nTesting Codex CLI model..." | ||
| echo -e "\n\nTesting invalid model (should fail)..." |
There was a problem hiding this comment.
Ensure that test cases for invalid model scenarios are consistently named and documented to avoid any ambiguity in expected failures.
Suggested change
| echo -e "\n\nTesting invalid model (should fail)..." | |
| echo -e "\n\nTesting invalid model: codex (expected failure)..." |
| @@ -65,7 +65,7 @@ def cleanup_orphaned_containers(): | |||
| logger.warning(f"⚠️ Failed to cleanup orphaned containers: {e}") | |||
|
|
|||
| def run_ai_code_task_v2(task_id: int, user_id: str, github_token: str): | |||
There was a problem hiding this comment.
[nitpick] Since only 'claude' is now supported, consider refactoring or simplifying the code logic to remove redundant references to model selection (e.g. 'model_cli') throughout the function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.