Can several commonly used models be specified in the configuration file? #2162

Open
opened 2026-02-16 17:34:28 -05:00 by yindo · 2 comments
Owner

Originally created by @dododcdc on GitHub (Oct 18, 2025).

Originally assigned to: @thdxr on GitHub.

For example:

{
    "search_model": "Model A",
    "text_model": "Model B", 
    "image_model": "Model C",
    "reasoning_model": "Model D",
    "simple_task_model": "Model E"
}

Automatically invoke the configured model based on the content sent by the user. For instance, if the user sends an image, it will automatically call [Model C] for recognition.

Originally created by @dododcdc on GitHub (Oct 18, 2025). Originally assigned to: @thdxr on GitHub. For example: ```json { "search_model": "Model A", "text_model": "Model B", "image_model": "Model C", "reasoning_model": "Model D", "simple_task_model": "Model E" } ``` Automatically invoke the configured model based on the content sent by the user. For instance, if the user sends an image, it will automatically call [Model C] for recognition.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 18, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3028: Switch model for all agents - discusses wanting to switch models for different modes/agents and suggests model switching improvements
  • #1891: Per-Model Instructions - requests the ability to define different configurations (like instructions) per provider/model for automatic switching
  • #930: Make using any model with any provider easier - discusses improving model configuration and provider setup
  • #1661: Model switch automatically when changing the mode - addresses automatic model switching based on context/mode changes

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 18, 2025): This issue might be a duplicate of existing issues. Please check: - #3028: Switch model for all agents - discusses wanting to switch models for different modes/agents and suggests model switching improvements - #1891: Per-Model Instructions - requests the ability to define different configurations (like instructions) per provider/model for automatic switching - #930: Make using any model with any provider easier - discusses improving model configuration and provider setup - #1661: Model switch automatically when changing the mode - addresses automatic model switching based on context/mode changes Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

@dododcdc rn there are only 2 options:

"model"

and

"small_model"

model is used for everything but the session title generation, small_model is used for only session title generation

@rekram1-node commented on GitHub (Oct 18, 2025): @dododcdc rn there are only 2 options: "model" and "small_model" model is used for everything but the session title generation, small_model is used for only session title generation
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2162