opencode-plugin-litellm 0.11.0 → 0.11.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "opencode-plugin-litellm",
4
- "version": "0.11.0",
4
+ "version": "0.11.1",
5
5
  "description": "OpenCode plugin for LiteLLM proxy support with auto-detection and dynamic model discovery",
6
6
  "type": "module",
7
7
  "main": "./src/index.ts",
@@ -250,9 +250,10 @@ async function discoverModels(
250
250
  let wildcards = 0
251
251
  const unmatched: string[] = []
252
252
  for (const model of discovered) {
253
- // Wildcard entries (`deepseek/*`) are access rules, not
254
- // callable models — invoking one sends a literal `*` upstream.
255
- if (model.id.includes('*')) {
253
+ // `deepseek/*` is an access rule, not a callable model. But a
254
+ // trailing `*` (`claude-sonnet-4-6*`) is a model-group alias,
255
+ // so only skip the `provider/*` form.
256
+ if (model.id.includes('/*')) {
256
257
  wildcards++
257
258
  continue
258
259
  }