docs: document dynamic model fetching feature#12112
docs: document dynamic model fetching feature#12112nil957 wants to merge 1 commit intocontinuedev:mainfrom
Conversation
Add documentation for the dynamic model fetching capability introduced in PR continuedev#12046: - Add 'Dynamic Model Discovery' section to models.mdx - Document supported providers (Ollama, OpenRouter, Anthropic, Gemini, OpenAI) - Explain auto-loading vs manual refresh with API key - Document how to use the refresh button in Add Model UI - Note automatic capability detection (contextLength, maxTokens, tools) Fixes continuedev#12097
|
I have read the CLA Document and I hereby sign the CLA Javis seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/customize/models.mdx">
<violation number="1" location="docs/customize/models.mdx:52">
P2: Docs describe an internal field (`supportsTools`) as if it were persisted in `config.yaml`, which mismatches the config-facing capability key and can mislead users.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
|
|
||
| 1. **Automatic loading**: Ollama and OpenRouter models are automatically loaded when you open Continue | ||
| 2. **Manual refresh**: For other providers, enter your API key in the "Add Model" UI and click the refresh icon to fetch available models | ||
| 3. **Capability detection**: Continue automatically detects model capabilities (`contextLength`, `maxTokens`, `supportsTools`) and saves them to your `config.yaml` |
There was a problem hiding this comment.
P2: Docs describe an internal field (supportsTools) as if it were persisted in config.yaml, which mismatches the config-facing capability key and can mislead users.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/customize/models.mdx, line 52:
<comment>Docs describe an internal field (`supportsTools`) as if it were persisted in `config.yaml`, which mismatches the config-facing capability key and can mislead users.</comment>
<file context>
@@ -28,6 +28,44 @@ If no model is specified, Continue automatically uses the default agent with our
+
+1. **Automatic loading**: Ollama and OpenRouter models are automatically loaded when you open Continue
+2. **Manual refresh**: For other providers, enter your API key in the "Add Model" UI and click the refresh icon to fetch available models
+3. **Capability detection**: Continue automatically detects model capabilities (`contextLength`, `maxTokens`, `supportsTools`) and saves them to your `config.yaml`
+
+### Using the Refresh Button
</file context>
| 3. **Capability detection**: Continue automatically detects model capabilities (`contextLength`, `maxTokens`, `supportsTools`) and saves them to your `config.yaml` | |
| 3. **Capability detection**: Continue automatically detects model capabilities (for example `contextLength`, `maxTokens`, and tool support via `capabilities.tools`) and saves them to your `config.yaml` |
Summary
This PR adds documentation for the dynamic model fetching capability introduced in PR #12046.
Changes
Added a new "Dynamic Model Discovery" section to
docs/customize/models.mdxthat covers:Supported Providers Table - Shows which providers support auto-loading vs manual refresh:
How It Works - Explains the three-step process:
Using the Refresh Button - Step-by-step guide for adding models from providers that require API keys
Tip - Notes that capabilities (contextLength, maxTokens, tools) are automatically detected and saved
Related Issues
Fixes #12097
Related PR
Summary by cubic
Document dynamic model discovery in
docs/customize/models.mdxto explain how models auto-load or refresh across providers. Covers providers that auto-load (Ollama, OpenRouter), those requiring an API key and refresh (Anthropic, Gemini, OpenAI), how to use the refresh button, and that capabilities are auto-detected and saved.Written for commit af574a6. Summary will update on new commits.