You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ This changelog was generated from the repository Git history and release tags. V
8
8
9
9
### Changed
10
10
- Updated the LM Studio plugin for the current browser-delegation protocol.
11
+
- Added model-bound vision capability detection for llama.cpp, LM Studio, and LocalAI, with Auto / Force on / Off settings and fail-closed Chrome/Firefox request routing.
11
12
12
13
### Fixed
13
14
- Hid empty assistant placeholders until response content is ready to render.
`promptTier` drives both the action prompt and the normal tool subset. Local providers default to Mid, cloud providers are forced Full, and the legacy `useCompactPrompt` flag maps to Compact for existing configs. Dev mode is a separate conversation mode: Mid/Full Dev uses the selected Act tier plus `SYSTEM_PROMPT_DEV_APPENDIX`; Compact Dev is blocked before an LLM request is sent.
711
707
712
-
Ollama is the exception to OpenAI-compatible model-name vision inference. Its
713
-
`visionMode` is `auto`, `on`, or `off`; Auto performs one coalesced,
714
-
three-second `/api/show` metadata check per model/base URL and service-worker
715
-
lifetime before turn enrichment. Only successful metadata is persisted, and a
716
-
late result is applied only if the same Ollama identity is still configured.
708
+
Ollama, llama.cpp, LM Studio, and LocalAI resolve `supportsVision` from native
709
+
server metadata before page enrichment. Explicit model/base-URL identities are
710
+
cached and protected by stale-result guards; an empty Model field is treated as
711
+
the server's mutable loaded-model slot, so concurrent checks are coalesced only
712
+
within that turn and the next user turn rechecks it. Detection is bounded to
713
+
three seconds and fails closed without failing the text request. User overrides
714
+
bypass detection. Chrome and Firefox share the same parsers and behavior.
| Jan / vLLM / SGLang | Interrupteur explicite `supportsVision` dans la configuration (via le fournisseur OpenAI) |
193
+
194
+
La détection est liée au fournisseur, au modèle exact et à l'URL de base. Les
195
+
requêtes simultanées sont regroupées et une réponse tardive d'une ancienne
196
+
configuration ne peut pas modifier la configuration actuelle. Un fournisseur
197
+
de vision dédié conserve le routage séparé existant.
186
198
187
199
### Conversion Anthropic
188
200
@@ -286,11 +298,4 @@ myprovider: {
286
298
},
287
299
```
288
300
289
-
La vision est normalement auto-détectée via une regex sur le nom du modèle.
290
-
Ollama fait exception : son mode Auto utilise les métadonnées natives de
291
-
`/api/show` et échoue de manière fermée vers le mode texte seul si elles ne
292
-
peuvent pas être vérifiées. Si un autre fournisseur a un ensemble connu de
293
-
modèles de vision, ajoutez-les à la regex dans `openai.js`. Définissez
294
-
`supportsStreamUsageOptions: true` uniquement pour les fournisseurs qui
295
-
acceptent `stream_options.include_usage` de style OpenAI ; laissez-le à false
296
-
lorsqu'un fournisseur retourne l'utilisation sans accepter ce champ de requête.
301
+
La vision est auto-détectée via une regex sur le nom du modèle. Si le fournisseur a un ensemble connu de modèles de vision, ajoutez-les à la regex dans `openai.js`. Définissez `supportsStreamUsageOptions: true` uniquement pour les fournisseurs qui acceptent `stream_options.include_usage` de style OpenAI ; laissez-le à false lorsqu'un fournisseur retourne l'utilisation sans accepter ce champ de requête.
Auto results are keyed by provider, exact selected model, and canonical base
234
+
URL. Concurrent checks share one request, and a late response from an older
235
+
configuration cannot change the current provider. A separately configured
236
+
dedicated vision provider continues to use the existing split-provider path.
224
237
225
238
### Anthropic Conversion
226
239
@@ -331,10 +344,4 @@ myprovider: {
331
344
},
332
345
```
333
346
334
-
Vision is normally auto-detected via model-name regex. Ollama is the exception:
335
-
its Auto mode uses native `/api/show` metadata and fails closed to text-only
336
-
when metadata cannot be verified. If another provider has a known set of vision
337
-
models, add them to the regex in `openai.js`. Set
338
-
`supportsStreamUsageOptions: true` only for providers that accept OpenAI-style
339
-
`stream_options.include_usage`; leave it false when a provider returns usage
340
-
without accepting that request field.
347
+
Vision is auto-detected via model-name regex. If the provider has a known set of vision models, add them to the regex in `openai.js`. Set `supportsStreamUsageOptions: true` only for providers that accept OpenAI-style `stream_options.include_usage`; leave it false when a provider returns usage without accepting that request field.
0 commit comments