Solution: GPT-OSS Agent Mode Workaround Using Ollama Model Aliases #7035
lasseleendertz
started this conversation in
Models + Providers
Replies: 1 comment
-
This worked great, thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Update (7. Aug 2025)
Solution: GPT-OSS Agent Mode Workaround Using Ollama Model Aliases
I encountered the same issue as others with GPT-OSS models where the Agent and Plan mode was greyed out.
Here's a workaround solution that doesn't require complex configuration changes:
Root Cause
Continue has an internal whitelist of model names that are recognized as "agent-capable". GPT-OSS model names like
gpt-oss:120b
are not on this list, causing the Agent mode to be disabled.Solution: Create Model Aliases in Ollama
Instead of trying to trick Continue with
requestOptions
or complex configurations, simply create an alias in Ollama:Continue Configuration
I used this basic configuration with the aliased name:
Result
gpt-oss:120b
andgpt-4o
)Why This Works
Continue recognizes
gpt-4o
as agent-capable, while Ollama serves your actual GPT-OSS model under this alias. It's a clean solution that works with Continue's current model recognition logic.Here’s a concise “undo” note you can append to the GitHub comment so everyone knows how to roll back the workaround later:
How to Undo the Workaround
When Continue adds native support for GPT-OSS model names, you can revert in two quick steps:
# Remove only the alias tag – the original model stays untouched ollama rm gpt-4o
That’s it—no data loss, no extra cleanup needed.
Tested with: Continue extension, Ollama, GPT-OSS 120B model
Hope this helps others with the same issue! ❤️
-Lasse
Beta Was this translation helpful? Give feedback.
All reactions