@@ -4,7 +4,7 @@ Command-line interface for AI-powered coding tasks.
44
55## Features
66
7- - 🤖 ** AI-Powered** : Leverages Anthropic's Claude API for intelligent coding assistance
7+ - 🤖 ** AI-Powered** : Leverages Anthropic's Claude and OpenAI models for intelligent coding assistance
88- 🛠️ ** Extensible Tool System** : Modular architecture with various tool categories
99- 🔄 ** Parallel Execution** : Ability to spawn sub-agents for concurrent task processing
1010- 📝 ** Self-Modification** : Can modify code, it was built and tested by writing itself
@@ -74,11 +74,44 @@ mycoder config get githubMode
7474
7575# Set a configuration value
7676mycoder config set githubMode true
77+
78+ # Configure model provider and model name
79+ mycoder config set modelProvider openai
80+ mycoder config set modelName gpt-4o-2024-05-13
81+ ```
82+
83+ ### Model Selection
84+
85+ MyCoder supports both Anthropic and OpenAI models. You can configure which model to use with the following commands:
86+
87+ ``` bash
88+ # Use OpenAI's GPT-4o model
89+ mycoder config set modelProvider openai
90+ mycoder config set modelName gpt-4o-2024-05-13
91+
92+ # Use OpenAI's o3-mini model
93+ mycoder config set modelProvider openai
94+ mycoder config set modelName o3-mini-2024-07-18
95+
96+ # Use Anthropic's Claude 3.7 Sonnet model
97+ mycoder config set modelProvider anthropic
98+ mycoder config set modelName claude-3-7-sonnet-20250219
99+
100+ # Use Anthropic's Claude 3 Opus model
101+ mycoder config set modelProvider anthropic
102+ mycoder config set modelName claude-3-opus-20240229
103+ ```
104+
105+ You can also specify the model provider and name directly when running a command:
106+
107+ ``` bash
108+ mycoder --modelProvider openai --modelName gpt-4o-2024-05-13 " Your prompt here"
77109```
78110
79111## Environment Variables
80112
81- - ` ANTHROPIC_API_KEY ` : Your Anthropic API key (required)
113+ - ` ANTHROPIC_API_KEY ` : Your Anthropic API key (required when using Anthropic models)
114+ - ` OPENAI_API_KEY ` : Your OpenAI API key (required when using OpenAI models)
82115
83116## Development
84117
0 commit comments