Skip to content

Conversation

bhouston
Copy link
Member

@bhouston bhouston commented Mar 4, 2025

Description\nThis PR adds support for OpenAI models, specifically o3 mini and GPT-4o, to the MyCoder project.\n\n## Changes\n- Added model selection functions in the agent configuration\n- Added OpenAI model provider and model name options\n- Updated CLI to support model selection via command line arguments and configuration\n- Updated tests to account for new configuration options\n\n## Related Issues\nCloses #80\n\n## Testing\n- All tests are passing\n- Manually tested with both Anthropic and OpenAI models\n\n## Notes\n- Users will need to set the OPENAI_API_KEY environment variable to use OpenAI models\n- Users can select models via command line arguments or by setting default in the configuration

@bhouston bhouston merged commit fa9aecd into main Mar 4, 2025
1 check passed
Copy link

sentry-io bot commented Mar 4, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ Error: Invalid model name: o3-mini Object.handler($default.ts) View Issue
  • ‼️ AI_NoSuchToolError: Model tried to call unavailable tool 'textEditor.view'. Available tools: textEditor, subAgent, userPrompt, sequenceComplete, fetch, shellStart, shellMessage, browseStart, browseMessage, respawn, sleep. toolAgent(index.ts) View Issue
  • ‼️ SyntaxError: Unterminated string in JSON at position 12302 (line 4 column 12218) ?(toolExecutor.ts) View Issue
  • ‼️ AI_InvalidToolArgumentsError: Invalid arguments for tool textEditor: Type validation failed: Value: {"command":"str_replace","path":"/Users/benhouston/Coding/Business/mycoder2/mycoder-2/packages/cli/../agent/src/tools/interaction/subAgent.ts","new_str":" getSystemPrompt: (contex... toolAgent(index.ts) View Issue
  • ‼️ Error: anthropic API key not found Object.handler($default.ts) View Issue

Did you find this useful? React with a 👍 or 👎

@bhouston
Copy link
Member Author

bhouston commented Mar 4, 2025

fixes #80

Copy link

🎉 This PR is included in version mycoder-agent-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version mycoder-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bhouston bhouston deleted the feature/add-openai-models branch March 12, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant