@thxp/llms 3.2.4 → 3.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -5
- package/dist/cjs/server.cjs +147 -147
- package/dist/cjs/server.cjs.map +3 -3
- package/dist/esm/server.mjs +147 -147
- package/dist/esm/server.mjs.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -198,8 +198,6 @@ Here is a comprehensive example:
|
|
|
198
198
|
"default": "deepseek,deepseek-chat",
|
|
199
199
|
"background": "ollama,qwen2.5-coder:latest",
|
|
200
200
|
"think": "deepseek,deepseek-reasoner",
|
|
201
|
-
"longContext": "openrouter,google/gemini-2.5-pro-preview",
|
|
202
|
-
"longContextThreshold": 60000,
|
|
203
201
|
"webSearch": "gemini,gemini-2.5-flash"
|
|
204
202
|
}
|
|
205
203
|
}
|
|
@@ -243,7 +241,7 @@ ccr model
|
|
|
243
241
|
This command provides an interactive interface to:
|
|
244
242
|
|
|
245
243
|
- View current configuration:
|
|
246
|
-
- See all configured models (default, background, think,
|
|
244
|
+
- See all configured models (default, background, think, webSearch, image)
|
|
247
245
|
- Switch models: Quickly change which model is used for each router type
|
|
248
246
|
- Add new models: Add models to existing providers
|
|
249
247
|
- Create new providers: Set up complete provider configurations including:
|
|
@@ -444,8 +442,6 @@ The `Router` object defines which model to use for different scenarios:
|
|
|
444
442
|
- `default`: The default model for general tasks.
|
|
445
443
|
- `background`: A model for background tasks. This can be a smaller, local model to save costs.
|
|
446
444
|
- `think`: A model for reasoning-heavy tasks, like Plan Mode.
|
|
447
|
-
- `longContext`: A model for handling long contexts (e.g., > 60K tokens).
|
|
448
|
-
- `longContextThreshold` (optional): The token count threshold for triggering the long context model. Defaults to 60000 if not specified.
|
|
449
445
|
- `webSearch`: Used for handling web search tasks and this requires the model itself to support the feature. If you're using openrouter, you need to add the `:online` suffix after the model name.
|
|
450
446
|
- `image` (beta): Used for handling image-related tasks (supported by CCR’s built-in agent). If the model does not support tool calling, you need to set the `config.forceUseImageAgent` property to `true`.
|
|
451
447
|
|