Can I let the opencode to select and switch different local models automatically? #7603

Open
opened 2026-02-16 18:07:42 -05:00 by yindo · 1 comment
Owner

Originally created by @TangLaoya on GitHub (Jan 26, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

Dear all,

Thanks for your help that I can use the opencode to connect my local model when llama-server launched the local model:
https://github.com/anomalyco/opencode/issues/10547

I have a new question: can I let the opencode to select and switch my different local models automatically without the llama-server launching a local model? What should I do?

Thanks,
Tang Laoya

Originally created by @TangLaoya on GitHub (Jan 26, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question Dear all, Thanks for your help that I can use the opencode to connect my local model when llama-server launched the local model: https://github.com/anomalyco/opencode/issues/10547 I have a new question: can I let the opencode to select and switch my different local models automatically without the llama-server launching a local model? What should I do? Thanks, Tang Laoya
Author
Owner

@github-actions[bot] commented on GitHub (Jan 26, 2026):

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

  • #8456: opencode could automatically use different models based on task type
  • #8278: Tool that lets the model switch models
  • #10407: Remember last used model/agent across sessions
  • #7602: Native Model Fallback / Failover Support
  • #10547: How to set a local provider in opencode TUI? (Related prerequisite)

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

@github-actions[bot] commented on GitHub (Jan 26, 2026): This issue might be a duplicate of existing issues. Please check: - #8456: opencode could automatically use different models based on task type - #8278: Tool that lets the model switch models - #10407: Remember last used model/agent across sessions - #7602: Native Model Fallback / Failover Support - #10547: How to set a local provider in opencode TUI? (Related prerequisite) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7603