@@ -44,7 +44,7 @@ module "aider" {
4444| ` icon ` | The icon to use for the app | ` string ` | ` "/icon/aider.svg" ` |
4545| ` experiment_report_tasks ` | Whether to enable task reporting | ` bool ` | ` true ` |
4646| ` system_prompt ` | System prompt for instructing Aider on task reporting and behavior | ` string ` | See default in code |
47- | ` task_prompt ` | Task prompt to use with Aider | ` string ` | ` "" ` |
47+ | ` task_prompt ` | Task prompt to use with Aider | ` string ` | ` "" ` |
4848| ` ai_provider ` | AI provider to use with Aider (openai, anthropic, azure, etc.) | ` string ` | ` "anthropic" ` |
4949| ` ai_model ` | AI model to use (can use Aider's built-in aliases like "sonnet", "4o") | ` string ` | ` "sonnet" ` |
5050| ` ai_api_key ` | API key for the selected AI provider | ` string ` | ` "" ` |
@@ -98,7 +98,7 @@ module "aider" {
9898 agent_id = coder_agent.example.id
9999 use_tmux = true
100100 ai_provider = "openai"
101- ai_model = "4o" # Uses Aider's built-in alias for gpt-4o
101+ ai_model = "4o" # Uses Aider's built-in alias for gpt-4o
102102 ai_api_key = var.openai_api_key
103103}
104104```
@@ -113,14 +113,14 @@ variable "custom_api_key" {
113113}
114114
115115module "aider" {
116- count = data.coder_workspace.me.start_count
117- source = "registry.coder.com/modules/aider/coder"
118- version = "1.0.0"
119- agent_id = coder_agent.example.id
120- ai_provider = "custom"
116+ count = data.coder_workspace.me.start_count
117+ source = "registry.coder.com/modules/aider/coder"
118+ version = "1.0.0"
119+ agent_id = coder_agent.example.id
120+ ai_provider = "custom"
121121 custom_env_var_name = "MY_CUSTOM_API_KEY"
122- ai_model = "custom-model"
123- ai_api_key = var.custom_api_key
122+ ai_model = "custom-model"
123+ ai_api_key = var.custom_api_key
124124}
125125```
126126
@@ -287,16 +287,16 @@ Persistent sessions (screen/tmux) allow you to:
287287
288288Aider supports various providers and models, and this module integrates directly with Aider's built-in model aliases:
289289
290- | Provider | Example Models/Aliases | Default Model |
291- | -------------- | ------------------------------------------- | ----------------- |
292- | ** anthropic** | "sonnet" (Claude 3.7 Sonnet), "opus", "haiku" | "sonnet" |
293- | ** openai** | "4o" (GPT-4o), "4" (GPT-4), "3.5-turbo" | "4o" |
294- | ** azure** | Azure OpenAI models | "gpt-4" |
295- | ** google** | "gemini" (Gemini Pro), "gemini-2.5-pro" | "gemini-2.5-pro" |
296- | ** cohere** | "command-r-plus", etc. | "command-r-plus" |
297- | ** mistral** | "mistral-large-latest" | "mistral-large-latest" |
298- | ** ollama** | "llama3", etc. | "llama3" |
299- | ** custom** | Any model name with custom ENV variable | - |
290+ | Provider | Example Models/Aliases | Default Model |
291+ | ------------- | --------------------------------------------- | ----- ----------------- |
292+ | ** anthropic** | "sonnet" (Claude 3.7 Sonnet), "opus", "haiku" | "sonnet" |
293+ | ** openai** | "4o" (GPT-4o), "4" (GPT-4), "3.5-turbo" | "4o" |
294+ | ** azure** | Azure OpenAI models | "gpt-4" |
295+ | ** google** | "gemini" (Gemini Pro), "gemini-2.5-pro" | "gemini-2.5-pro" |
296+ | ** cohere** | "command-r-plus", etc. | "command-r-plus" |
297+ | ** mistral** | "mistral-large-latest" | "mistral-large-latest" |
298+ | ** ollama** | "llama3", etc. | "llama3" |
299+ | ** custom** | Any model name with custom ENV variable | - |
300300
301301For a complete and up-to-date list of supported aliases and models, please refer to the [ Aider LLM documentation] ( https://aider.chat/docs/llms.html ) and the [ Aider LLM Leaderboards] ( https://aider.chat/docs/leaderboards.html ) which show performance comparisons across different models.
302302
@@ -311,3 +311,5 @@ If you encounter issues:
311311For more information on using Aider, see the [ Aider documentation] ( https://aider.chat/docs/ ) .
312312
313313```
314+
315+ ```
0 commit comments