@aituber-onair/chat 0.65.0 → 0.66.0
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.ja.md +105 -50
- package/README.md +105 -55
- package/dist/cjs/constants/claude.d.ts +1 -0
- package/dist/cjs/constants/claude.d.ts.map +1 -1
- package/dist/cjs/constants/claude.js +4 -1
- package/dist/cjs/constants/claude.js.map +1 -1
- package/dist/cjs/constants/gemini.d.ts +2 -0
- package/dist/cjs/constants/gemini.d.ts.map +1 -1
- package/dist/cjs/constants/gemini.js +4 -2
- package/dist/cjs/constants/gemini.js.map +1 -1
- package/dist/cjs/constants/kimi.d.ts +4 -0
- package/dist/cjs/constants/kimi.d.ts.map +1 -1
- package/dist/cjs/constants/kimi.js +10 -2
- package/dist/cjs/constants/kimi.js.map +1 -1
- package/dist/cjs/constants/mistral.d.ts +1 -1
- package/dist/cjs/constants/mistral.d.ts.map +1 -1
- package/dist/cjs/constants/mistral.js +1 -1
- package/dist/cjs/constants/mistral.js.map +1 -1
- package/dist/cjs/constants/openai.d.ts +12 -1
- package/dist/cjs/constants/openai.d.ts.map +1 -1
- package/dist/cjs/constants/openai.js +34 -4
- package/dist/cjs/constants/openai.js.map +1 -1
- package/dist/cjs/constants/openrouter.d.ts +12 -0
- package/dist/cjs/constants/openrouter.d.ts.map +1 -1
- package/dist/cjs/constants/openrouter.js +84 -7
- package/dist/cjs/constants/openrouter.js.map +1 -1
- package/dist/cjs/constants/plamo.d.ts +1 -1
- package/dist/cjs/constants/plamo.d.ts.map +1 -1
- package/dist/cjs/constants/plamo.js +1 -1
- package/dist/cjs/constants/plamo.js.map +1 -1
- package/dist/cjs/services/ChatServiceFactory.d.ts.map +1 -1
- package/dist/cjs/services/ChatServiceFactory.js +2 -1
- package/dist/cjs/services/ChatServiceFactory.js.map +1 -1
- package/dist/cjs/services/providers/claude/ClaudeChatServiceProvider.d.ts.map +1 -1
- package/dist/cjs/services/providers/claude/ClaudeChatServiceProvider.js +0 -1
- package/dist/cjs/services/providers/claude/ClaudeChatServiceProvider.js.map +1 -1
- package/dist/cjs/services/providers/kimi/KimiChatServiceProvider.d.ts.map +1 -1
- package/dist/cjs/services/providers/kimi/KimiChatServiceProvider.js +2 -1
- package/dist/cjs/services/providers/kimi/KimiChatServiceProvider.js.map +1 -1
- package/dist/cjs/services/providers/openai/OpenAIChatService.d.ts.map +1 -1
- package/dist/cjs/services/providers/openai/OpenAIChatService.js +6 -3
- package/dist/cjs/services/providers/openai/OpenAIChatService.js.map +1 -1
- package/dist/cjs/services/providers/openai/OpenAIChatServiceProvider.d.ts.map +1 -1
- package/dist/cjs/services/providers/openai/OpenAIChatServiceProvider.js +6 -12
- package/dist/cjs/services/providers/openai/OpenAIChatServiceProvider.js.map +1 -1
- package/dist/cjs/services/providers/openai/openaiRequestBuilder.d.ts.map +1 -1
- package/dist/cjs/services/providers/openai/openaiRequestBuilder.js +6 -2
- package/dist/cjs/services/providers/openai/openaiRequestBuilder.js.map +1 -1
- package/dist/cjs/services/providers/openrouter/OpenRouterChatService.d.ts.map +1 -1
- package/dist/cjs/services/providers/openrouter/OpenRouterChatService.js +6 -2
- package/dist/cjs/services/providers/openrouter/OpenRouterChatService.js.map +1 -1
- package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts +2 -2
- package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts.map +1 -1
- package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.js +15 -16
- package/dist/cjs/services/providers/openrouter/OpenRouterChatServiceProvider.js.map +1 -1
- package/dist/esm/constants/claude.d.ts +1 -0
- package/dist/esm/constants/claude.d.ts.map +1 -1
- package/dist/esm/constants/claude.js +4 -1
- package/dist/esm/constants/claude.js.map +1 -1
- package/dist/esm/constants/gemini.d.ts +2 -0
- package/dist/esm/constants/gemini.d.ts.map +1 -1
- package/dist/esm/constants/gemini.js +4 -2
- package/dist/esm/constants/gemini.js.map +1 -1
- package/dist/esm/constants/kimi.d.ts +4 -0
- package/dist/esm/constants/kimi.d.ts.map +1 -1
- package/dist/esm/constants/kimi.js +9 -1
- package/dist/esm/constants/kimi.js.map +1 -1
- package/dist/esm/constants/mistral.d.ts +1 -1
- package/dist/esm/constants/mistral.d.ts.map +1 -1
- package/dist/esm/constants/mistral.js +1 -1
- package/dist/esm/constants/mistral.js.map +1 -1
- package/dist/esm/constants/openai.d.ts +12 -1
- package/dist/esm/constants/openai.d.ts.map +1 -1
- package/dist/esm/constants/openai.js +33 -3
- package/dist/esm/constants/openai.js.map +1 -1
- package/dist/esm/constants/openrouter.d.ts +12 -0
- package/dist/esm/constants/openrouter.d.ts.map +1 -1
- package/dist/esm/constants/openrouter.js +81 -5
- package/dist/esm/constants/openrouter.js.map +1 -1
- package/dist/esm/constants/plamo.d.ts +1 -1
- package/dist/esm/constants/plamo.d.ts.map +1 -1
- package/dist/esm/constants/plamo.js +1 -1
- package/dist/esm/constants/plamo.js.map +1 -1
- package/dist/esm/services/ChatServiceFactory.d.ts.map +1 -1
- package/dist/esm/services/ChatServiceFactory.js +3 -2
- package/dist/esm/services/ChatServiceFactory.js.map +1 -1
- package/dist/esm/services/providers/claude/ClaudeChatServiceProvider.d.ts.map +1 -1
- package/dist/esm/services/providers/claude/ClaudeChatServiceProvider.js +1 -2
- package/dist/esm/services/providers/claude/ClaudeChatServiceProvider.js.map +1 -1
- package/dist/esm/services/providers/kimi/KimiChatServiceProvider.d.ts.map +1 -1
- package/dist/esm/services/providers/kimi/KimiChatServiceProvider.js +3 -2
- package/dist/esm/services/providers/kimi/KimiChatServiceProvider.js.map +1 -1
- package/dist/esm/services/providers/openai/OpenAIChatService.d.ts.map +1 -1
- package/dist/esm/services/providers/openai/OpenAIChatService.js +7 -4
- package/dist/esm/services/providers/openai/OpenAIChatService.js.map +1 -1
- package/dist/esm/services/providers/openai/OpenAIChatServiceProvider.d.ts.map +1 -1
- package/dist/esm/services/providers/openai/OpenAIChatServiceProvider.js +7 -13
- package/dist/esm/services/providers/openai/OpenAIChatServiceProvider.js.map +1 -1
- package/dist/esm/services/providers/openai/openaiRequestBuilder.d.ts.map +1 -1
- package/dist/esm/services/providers/openai/openaiRequestBuilder.js +7 -3
- package/dist/esm/services/providers/openai/openaiRequestBuilder.js.map +1 -1
- package/dist/esm/services/providers/openrouter/OpenRouterChatService.d.ts.map +1 -1
- package/dist/esm/services/providers/openrouter/OpenRouterChatService.js +7 -3
- package/dist/esm/services/providers/openrouter/OpenRouterChatService.js.map +1 -1
- package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts +2 -2
- package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.d.ts.map +1 -1
- package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.js +16 -17
- package/dist/esm/services/providers/openrouter/OpenRouterChatServiceProvider.js.map +1 -1
- package/dist/umd/aituber-onair-chat.js +167 -55
- package/dist/umd/aituber-onair-chat.min.js +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -303,6 +303,12 @@ rather than the API's `medium` default. The provider's default model is unchange
|
|
|
303
303
|
[Model API reference](https://developers.openai.com/api/docs/models/gpt-6.1-sol),
|
|
304
304
|
[API guide](https://developers.openai.com/api/docs/guides/latest-model).
|
|
305
305
|
|
|
306
|
+
Models with image input and streaming whose tools require Responses use Responses by default. `gpt-6.1-terra` (`MODEL_GPT_6_1_TERRA`) is an explicit option in this group. It supports `none`, `low`, `medium`, `high`, `xhigh`, and `max` reasoning effort. The API default is `medium`; the package default is `low`. Tool-free requests may use Chat Completions. Tools and MCP at the standard endpoint always use Responses, while custom endpoints with tools are rejected before sending.
|
|
307
|
+
|
|
308
|
+
This package does not send sampling fields such as `temperature`, `top_p`, or `logprobs`. The OpenRouter variant, `openai/gpt-6.1-terra`, uses Chat Completions with package-default reasoning effort `none`. Provider default models are unchanged.
|
|
309
|
+
|
|
310
|
+
See the [official Terra model specification](https://developers.openai.com/api/docs/models/gpt-6.1-terra), [API parameter migration guide](https://developers.openai.com/api/docs/guides/latest-model#gpt-6-astra-update-api-and-model-parameters), and [OpenRouter model catalog](https://openrouter.ai/api/v1/models).
|
|
311
|
+
|
|
306
312
|
`gpt-6-astra` (`MODEL_GPT_6_ASTRA`) is an explicit option with image input and streaming. The package routes it to Responses, which is required for tool calling. Reasoning supports `low` (package default), `medium`, `high`, `xhigh`, and `max`; `none`/`minimal` normalize to `low`. Existing `gpt5Preset` and `gpt5EndpointPreference` option names remain for compatibility, but Astra uses Responses at the standard endpoint. [API guide](https://developers.openai.com/api/docs/guides/latest-model).
|
|
307
313
|
|
|
308
314
|
`gpt-6-sol` (`MODEL_GPT_6_SOL`) is also available with image input and
|
|
@@ -613,7 +619,7 @@ time-to-first-token matters more than deep reasoning:
|
|
|
613
619
|
```typescript
|
|
614
620
|
const aituberChatService = ChatServiceFactory.createChatService('openai', {
|
|
615
621
|
apiKey: process.env.OPENAI_API_KEY,
|
|
616
|
-
model: 'gpt-5.
|
|
622
|
+
model: 'gpt-5.6-luna',
|
|
617
623
|
gpt5Preset: 'casual', // resolves to reasoning_effort 'none' on this model
|
|
618
624
|
responseLength: 'veryShort', // or 'short' for slightly longer replies
|
|
619
625
|
});
|
|
@@ -636,11 +642,23 @@ Caveats:
|
|
|
636
642
|
- `gpt-5.4-pro` – Highest-tier GPT-5.4 model. Use with Responses API only.
|
|
637
643
|
- `gpt-5.4` – Previous GPT-5 generation model optimized for stronger coding, instruction following, and long-context agentic work.
|
|
638
644
|
- `gpt-5.4-mini` – Faster GPT-5.4-class small model for coding, tool use, and multimodal workloads.
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
645
|
+
|
|
646
|
+
The provider default is `gpt-5.6-luna`, which OpenAI names as the replacement
|
|
647
|
+
for `gpt-5-nano`. It defaults to `reasoning_effort: 'none'` for responsive chat.
|
|
648
|
+
|
|
649
|
+
Models that OpenAI has deprecated or shut down remain exported for source
|
|
650
|
+
compatibility (`OPENAI_DEPRECATED_MODELS`), but are no longer in the supported
|
|
651
|
+
model list. Requests to shut-down models fail at the OpenAI API.
|
|
652
|
+
|
|
653
|
+
| Model | Status | Replacement |
|
|
654
|
+
| --- | --- | --- |
|
|
655
|
+
| `o1`, `o3-mini` | Shut down on 2026-10-23 | `gpt-5.6-sol` |
|
|
656
|
+
| `gpt-4.1-nano` | Shut down on 2026-10-23 | `gpt-5.6-luna` |
|
|
657
|
+
| `o1-mini` | Shut down in 2025 | `gpt-5.6-sol` |
|
|
658
|
+
| `gpt-5`, `gpt-5-mini`, `gpt-5-nano` | Scheduled shutdown on 2026-12-11 | `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` |
|
|
659
|
+
| `gpt-5.1`, `gpt-5.4-nano` | Scheduled shutdown on 2027-04-01 | `gpt-6-sol`, `gpt-6-luna` |
|
|
660
|
+
|
|
661
|
+
See [OpenAI deprecations](https://developers.openai.com/api/docs/deprecations).
|
|
644
662
|
|
|
645
663
|
`gpt-5.5-pro` is not included in the supported model list because OpenAI
|
|
646
664
|
documents it as non-streaming, while this package's standard chat flow expects
|
|
@@ -751,6 +769,11 @@ Claude refusals are terminal completions rather than tool errors. The returned
|
|
|
751
769
|
completion preserves `finish_reason: 'refusal'` and Anthropic `stop_details`
|
|
752
770
|
when supplied, including in streaming `processChat` callbacks.
|
|
753
771
|
|
|
772
|
+
`claude-sonnet-4-5-20250929` is deprecated by Anthropic and retires on
|
|
773
|
+
2026-11-30. It remains exported in `CLAUDE_DEPRECATED_MODELS`, but is no longer
|
|
774
|
+
in the supported model list; use `claude-sonnet-5-5` instead.
|
|
775
|
+
[Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations).
|
|
776
|
+
|
|
754
777
|
#### Google Gemini
|
|
755
778
|
|
|
756
779
|
```typescript
|
|
@@ -765,13 +788,15 @@ const geminiService = ChatServiceFactory.createChatService('gemini', {
|
|
|
765
788
|
`gemini-3.5-flash-lite` is available as the latest stable, low-latency
|
|
766
789
|
Flash-Lite option. `gemini-3.8-flash` is available as the newest explicit stable
|
|
767
790
|
Flash option for low-latency coding, agentic, and multimodal tasks.
|
|
768
|
-
`gemini-3.
|
|
791
|
+
`gemini-3.6-flash` remains available. Google deprecated `gemini-3.7-flash` and
|
|
792
|
+
`gemini-3.5-flash` on 2026-10-08 and routes their requests to
|
|
793
|
+
`gemini-3.8-flash` and `gemini-3.6-flash`, respectively.
|
|
769
794
|
Deprecated
|
|
770
|
-
preview and shutdown-scheduled models such as `gemini-3.
|
|
795
|
+
preview and shutdown-scheduled models such as `gemini-3.7-flash`,
|
|
796
|
+
`gemini-3.5-flash`, `gemini-3.1-flash-lite-preview`,
|
|
771
797
|
`gemini-3-pro-preview`, and `gemini-2.5-flash-lite-preview-06-17` remain usable
|
|
772
798
|
by explicit model string for backward compatibility, but are no longer
|
|
773
799
|
advertised in the standard supported-model list for production use.
|
|
774
|
-
`gemini-3.5-flash` is also available as a stable Flash model.
|
|
775
800
|
|
|
776
801
|
Gemini 3 models accept `reasoning_effort`, which maps to Gemini
|
|
777
802
|
`thinkingConfig.thinkingLevel` while keeping `includeThoughts: false`:
|
|
@@ -790,13 +815,22 @@ those models.
|
|
|
790
815
|
|
|
791
816
|
#### OpenRouter
|
|
792
817
|
|
|
793
|
-
The following explicit options use OpenRouter Chat Completions without changing the provider default. Text-only options include Mercury 2.5, Nemotron 3.5 Lightning, Solar Mini4, Solar Pro 4,
|
|
818
|
+
The following explicit options use OpenRouter Chat Completions without changing the provider default. Text-only options include Mercury 2.5/3, Nemotron 3.5 Lightning, Solar Mini4, Solar Pro 4, and Ling 3.1 Flash; the others support image input. This does not add file, audio, or video input support.
|
|
794
819
|
|
|
795
820
|
| Model ID | Reasoning efforts (package default) |
|
|
796
821
|
| --- | --- |
|
|
797
822
|
| `mistralai/mistral-large-4-0` | `none` (package default), `high` (upstream default); no reasoning token budget |
|
|
798
|
-
| `unbiased/pareto-26.
|
|
823
|
+
| `unbiased/pareto-26.9` | No effort selector (provider default) |
|
|
824
|
+
| `anthropic/claude-haiku-5.5` | none, low, medium, high, xhigh, max (low) |
|
|
825
|
+
| `inception/mercury-3` | none, low, medium, high (none) |
|
|
826
|
+
| `deepseek/deepseek-v4.1-flash-1017` | none, low, high, max (none) |
|
|
827
|
+
| `moonshotai/kimi-k3.1-pro` | none, low, high, max (none) |
|
|
828
|
+
| `minimax/minimax-m3.1-flash` | low, medium, high, xhigh, max (low) |
|
|
829
|
+
| `unbiased/pareto-26.10` | No effort selector or reasoning token budget |
|
|
830
|
+
| `inclusionai/ling-3.0-flash-vl` | No effort selector or reasoning token budget |
|
|
831
|
+
| `nex-agi/nex-n2.5-pro` | none, medium, high (none) |
|
|
799
832
|
| `openai/gpt-6.1-sol` | max, xhigh, high, medium, low (low) |
|
|
833
|
+
| `openai/gpt-6.1-terra` | none, low, medium, high, xhigh, max (none) |
|
|
800
834
|
| `openai/gpt-6-sol` | max, xhigh, high, medium, low, none (none) |
|
|
801
835
|
| `openai/gpt-6-luna` | max, xhigh, high, medium, low, none (none) |
|
|
802
836
|
| `anthropic/claude-sonnet-5.5` | max, xhigh, high, medium, low (low) |
|
|
@@ -808,22 +842,24 @@ The following explicit options use OpenRouter Chat Completions without changing
|
|
|
808
842
|
| `anthropic/claude-fable-5.1` | max, xhigh, high, medium, low (high) |
|
|
809
843
|
| `deepseek/deepseek-v4.1-flash` | max, high, low, none (none) |
|
|
810
844
|
| `google/gemini-3.8-flash` | high, medium, low (medium) |
|
|
811
|
-
| `inclusionai/ling-3.0-flash-vl:free` | No effort selector (provider default) |
|
|
812
845
|
| `inception/mercury-2.5` | high, medium, low, none (none) |
|
|
813
|
-
| `nex-agi/nex-n2.5-mini:free` | high, medium, none (none) |
|
|
814
|
-
| `nex-agi/nex-n2.5-pro:free` | high, medium, none (none) |
|
|
815
846
|
| `qwen/qwen3.8-max-0902` | xhigh, high, medium, low, minimal (xhigh) |
|
|
816
847
|
| `meta/muse-spark-1.3` | max, xhigh, high, medium, low, minimal (medium) |
|
|
817
848
|
| `inclusionai/ling-3.1-flash` | No effort selector (provider default) |
|
|
818
849
|
| `upstage/solar-pro4` | none, minimal, low, medium, high, xhigh, max (none) |
|
|
819
850
|
| `upstage/solar-mini4` | none, minimal, low, medium, high, xhigh, max (none) |
|
|
820
851
|
| `xiaomi/mimo-v2.6-flash` | No effort selector (provider default) |
|
|
821
|
-
| `apodex/apodex-1.1-mini:free` | No effort selector (provider default) |
|
|
822
852
|
| `nvidia/nemotron-3.5-lightning` | No effort selector (provider default) |
|
|
823
853
|
| `qwen/qwen3.8-27b` | No effort selector (provider default) |
|
|
824
854
|
| `qwen/qwen3.8-omni-flash` | No effort selector (provider default) |
|
|
855
|
+
| `google/gemma-4-31b-it:free` | No effort selector (provider default) |
|
|
856
|
+
| `nvidia/nemotron-3.5-super-vl:free` | No effort selector (provider default) |
|
|
857
|
+
|
|
858
|
+
The additional explicit options in the table support tools and streaming. Mercury 3 is text-only; the other additions accept images. MiniMax M3.1 Flash requires reasoning and normalizes unsupported settings to `low`. Pareto 26.10 sends no reasoning parameters. Ling 3.0 Flash VL supports reasoning visibility without an effort selector or token budget. Ling and Nex Pro use paid IDs.
|
|
825
859
|
|
|
826
|
-
|
|
860
|
+
These capabilities follow the [OpenRouter model catalog](https://openrouter.ai/api/v1/models) and [Chat Completions schema](https://openrouter.ai/docs/api-reference/overview).
|
|
861
|
+
|
|
862
|
+
For models without documented effort levels or reasoning token budgets, those controls are omitted. Current explicit options in this group are `nvidia/nemotron-3.5-lightning`, `qwen/qwen3.8-27b`, `qwen/qwen3.8-omni-flash`, `xiaomi/mimo-v2.6-flash`, `inclusionai/ling-3.1-flash`, `google/gemma-4-31b-it:free`, and `nvidia/nemotron-3.5-super-vl:free`. Existing `reasoning_effort` and `reasoningMaxTokens` settings are not sent for these models; `includeReasoning` still controls whether reasoning output is included. See the [reasoning configuration documentation](https://openrouter.ai/docs/guides/best-practices/reasoning-tokens).
|
|
827
863
|
|
|
828
864
|
Solar Pro 4 (`upstage/solar-pro4`) is an explicit text-only option via
|
|
829
865
|
`POST https://openrouter.ai/api/v1/chat/completions`. Select **OpenRouter → Solar Pro 4**
|
|
@@ -842,13 +878,28 @@ Solar Mini4 is an explicit text-chat option. Reasoning defaults to `none` for
|
|
|
842
878
|
responsive replies; supported efforts, including `minimal`, are sent unchanged.
|
|
843
879
|
Its reasoning token budget is omitted. MiMo V2.6 Flash supports text and image
|
|
844
880
|
input here; audio and video inputs are outside this package's supported surface.
|
|
845
|
-
|
|
846
|
-
MiMo and Apodex use provider-default reasoning without an effort or budget field;
|
|
881
|
+
MiMo uses provider-default reasoning without an effort or budget field;
|
|
847
882
|
`includeReasoning` controls whether the upstream response includes reasoning; it
|
|
848
883
|
does not disable reasoning computation or add reasoning display to this package.
|
|
849
|
-
See [Solar Mini4](https://openrouter.ai/upstage/solar-mini4)
|
|
850
|
-
[MiMo V2.6 Flash](https://openrouter.ai/xiaomi/mimo-v2.6-flash)
|
|
851
|
-
|
|
884
|
+
See [Solar Mini4](https://openrouter.ai/upstage/solar-mini4) and
|
|
885
|
+
[MiMo V2.6 Flash](https://openrouter.ai/xiaomi/mimo-v2.6-flash).
|
|
886
|
+
|
|
887
|
+
The provider default is `google/gemma-4-31b-it:free`, a free model with text and
|
|
888
|
+
image input and tool calling. It replaced `openai/gpt-oss-20b:free` after that
|
|
889
|
+
free route was removed from the OpenRouter catalog. `getFreeModels()` returns
|
|
890
|
+
`google/gemma-4-31b-it:free` and `nvidia/nemotron-3.5-super-vl:free`. Free
|
|
891
|
+
routes change often, so use `refreshOpenRouterFreeModels` below to find the
|
|
892
|
+
currently available `:free` models.
|
|
893
|
+
|
|
894
|
+
IDs that the OpenRouter catalog no longer returns remain exported in
|
|
895
|
+
`OPENROUTER_DEPRECATED_MODELS`, but are no longer in the supported model list:
|
|
896
|
+
`openai/gpt-oss-20b:free`, `~openai/gpt-latest`, `anthropic/claude-opus-4`,
|
|
897
|
+
`anthropic/claude-sonnet-4`, `google/gemini-2.5-flash-lite-preview-09-2025`,
|
|
898
|
+
`kwaipilot/kat-coder-air-v2.5`, `kwaipilot/kat-coder-pro-v2.5`,
|
|
899
|
+
`unbiased/pareto-26.10-preview`, `apodex/apodex-1.1-mini:free`,
|
|
900
|
+
`inclusionai/ling-3.0-flash-vl:free`, `nex-agi/nex-n2.5-mini:free`, and
|
|
901
|
+
`nex-agi/nex-n2.5-pro:free`. Use `unbiased/pareto-26.9` instead of the Pareto
|
|
902
|
+
preview.
|
|
852
903
|
|
|
853
904
|
Mistral Large 4 (`mistralai/mistral-large-4-0`) is a supported, explicit public
|
|
854
905
|
preview for text and image input, text output, streaming, and tool calls with a
|
|
@@ -874,24 +925,23 @@ live inference; no live generation test was run. See the [model catalog](https:/
|
|
|
874
925
|
[model page](https://openrouter.ai/mistralai/mistral-large-4-0), and
|
|
875
926
|
[Chat Completions reference](https://openrouter.ai/docs/api/reference/overview).
|
|
876
927
|
|
|
877
|
-
Pareto 26.
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
`
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
browser
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
and [Chat Completions reference](https://openrouter.ai/docs/api/api-reference/chat/create-a-chat-completion).
|
|
928
|
+
Pareto 26.9 (`unbiased/pareto-26.9`) is a stable, explicit option for text/image
|
|
929
|
+
input, streaming, and automatic tool selection. Select **OpenRouter → Pareto 26.9**
|
|
930
|
+
and enter your OpenRouter API key, or pass this model ID to `ChatServiceFactory`
|
|
931
|
+
with the `openrouter` provider. Existing defaults and model order are unchanged.
|
|
932
|
+
Requests use Bearer-authenticated JSON at
|
|
933
|
+
`https://openrouter.ai/api/v1/chat/completions`, with `choices[].message` responses
|
|
934
|
+
or SSE `choices[].delta` events. Output token limits are supported. No reasoning
|
|
935
|
+
controls are documented, so effort, token budgets, and `includeReasoning` are
|
|
936
|
+
ignored and no reasoning object is sent. The example hides effort/budget inputs.
|
|
937
|
+
The package supports tools; the example chat UI does not configure tools.
|
|
938
|
+
Structured-output enforcement and file/audio/video input are outside this path.
|
|
939
|
+
The [model page](https://openrouter.ai/unbiased/pareto-26.9) and
|
|
940
|
+
[Chat Completions quickstart](https://openrouter.ai/docs/quickstart) document the
|
|
941
|
+
model and API route. The [browser authentication guide](https://openrouter.ai/docs/guides/overview/auth/oauth)
|
|
942
|
+
documents direct browser requests; no proxy is added. Mock transport and DOM
|
|
943
|
+
integration tests cover package behavior, not live inference or authenticated CORS.
|
|
944
|
+
No rendered-browser verification, live generation, or CORS probe was run.
|
|
895
945
|
|
|
896
946
|
Ling 3.1 Flash (`inclusionai/ling-3.1-flash`) is an explicit text-only option.
|
|
897
947
|
Choose the `openrouter` provider and this model ID with your OpenRouter API key, or
|
|
@@ -951,31 +1001,28 @@ const openRouterService = ChatServiceFactory.createChatService('openrouter', {
|
|
|
951
1001
|
- `deepseek/deepseek-v4-flash`: older unversioned 0423 snapshot; supports `none`, `high`, and `xhigh`.
|
|
952
1002
|
- `deepseek/deepseek-v4-pro-0813`: fixed Pro snapshot; supports `none`, `high`, and `xhigh`.
|
|
953
1003
|
- `deepseek/deepseek-v4-flash-vision-exp`: experimental image-capable model; supports `none`, `low`, `high`, and `max`.
|
|
954
|
-
- Specialized coding models are explicit options rather than defaults. This includes `kwaipilot/kat-coder-air-v2.5` and `kwaipilot/kat-coder-pro-v2.5`, which are text-only.
|
|
955
1004
|
- `moonshotai/kimi-k3` availability depends on upstream capacity; OpenRouter may return 429 responses when capacity is constrained.
|
|
956
1005
|
- `x-ai/grok-4.5` has region-specific availability, including a current EU limitation. `~x-ai/grok-latest` inherits those limits when it resolves to Grok 4.5.
|
|
957
1006
|
- Supported models (curated list):
|
|
958
1007
|
- `openrouter/auto`, `openrouter/auto-beta`
|
|
959
1008
|
- `openrouter/fusion`
|
|
960
|
-
- `
|
|
961
|
-
- `~openai/gpt-
|
|
1009
|
+
- `google/gemma-4-31b-it:free`, `nvidia/nemotron-3.5-super-vl:free`
|
|
1010
|
+
- `~openai/gpt-mini-latest`
|
|
962
1011
|
- `openai/gpt-5.6-sol`, `openai/gpt-5.6-terra`, `openai/gpt-5.6-luna`
|
|
963
1012
|
- `openai/gpt-5.5-pro`, `openai/gpt-5.5`
|
|
964
1013
|
- `openai/gpt-5.1-codex`, `openai/gpt-5-mini`, `openai/gpt-5-nano`
|
|
965
1014
|
- `openai/gpt-4o`, `openai/gpt-4.1-mini`, `openai/gpt-4.1-nano`
|
|
966
1015
|
- `~anthropic/claude-sonnet-latest`, `~anthropic/claude-haiku-latest`
|
|
967
1016
|
- `anthropic/claude-fable-5`, `anthropic/claude-sonnet-5`, `anthropic/claude-opus-5`, `anthropic/claude-opus-4.8`
|
|
968
|
-
- `anthropic/claude-opus-4`, `anthropic/claude-sonnet-4`
|
|
969
1017
|
- `anthropic/claude-haiku-4.5`
|
|
970
1018
|
- `~google/gemini-pro-latest`, `~google/gemini-flash-latest`
|
|
971
1019
|
- `google/gemini-3.7-flash`, `google/gemini-3.6-flash`, `google/gemini-3.5-flash-lite`
|
|
972
|
-
- `google/gemini-2.5-pro`, `google/gemini-2.5-flash
|
|
1020
|
+
- `google/gemini-2.5-pro`, `google/gemini-2.5-flash`
|
|
973
1021
|
- `z-ai/glm-5.3`, `z-ai/glm-5.3-flash`, `z-ai/glm-5.2`, `z-ai/glm-4.7-flash`, `z-ai/glm-4.5-air`
|
|
974
1022
|
- `~x-ai/grok-latest`, `x-ai/grok-4.6`, `x-ai/grok-4.5`
|
|
975
1023
|
- `deepseek/deepseek-v4-flash-0731`, `deepseek/deepseek-v4-flash`, `deepseek/deepseek-v4-pro-0813`, `deepseek/deepseek-v4-flash-vision-exp`
|
|
976
1024
|
- `qwen/qwen3.8-flash`
|
|
977
1025
|
- `~moonshotai/kimi-latest`, `moonshotai/kimi-k3`, `moonshotai/kimi-k2.7-code`, `moonshotai/kimi-k2.6`, `moonshotai/kimi-k2.5`
|
|
978
|
-
- `kwaipilot/kat-coder-air-v2.5`, `kwaipilot/kat-coder-pro-v2.5`
|
|
979
1026
|
|
|
980
1027
|
**Dynamic OpenRouter free model refresh**
|
|
981
1028
|
|
|
@@ -992,7 +1039,7 @@ const result = await refreshOpenRouterFreeModels({
|
|
|
992
1039
|
maxWorking: 10, // default: 10
|
|
993
1040
|
});
|
|
994
1041
|
|
|
995
|
-
console.log(result.working); // e.g. ['
|
|
1042
|
+
console.log(result.working); // e.g. ['google/gemma-4-31b-it:free']
|
|
996
1043
|
console.log(result.failed); // [{ id, reason }, ...]
|
|
997
1044
|
console.log(result.fetchedAt); // Date.now() timestamp
|
|
998
1045
|
```
|
|
@@ -1047,6 +1094,8 @@ Notes:
|
|
|
1047
1094
|
|
|
1048
1095
|
#### Kimi (Moonshot)
|
|
1049
1096
|
|
|
1097
|
+
The [official K3.1 Pro quickstart](https://platform.kimi.ai/docs/guide/kimi-k3-1-pro-quickstart.md) and [model list](https://platform.kimi.ai/docs/models.md) document both K3.1 variants. Both support image input, tools, and streaming.
|
|
1098
|
+
|
|
1050
1099
|
```typescript
|
|
1051
1100
|
const kimiService = ChatServiceFactory.createChatService('kimi', {
|
|
1052
1101
|
apiKey: process.env.MOONSHOT_API_KEY,
|
|
@@ -1060,11 +1109,12 @@ const kimiService = ChatServiceFactory.createChatService('kimi', {
|
|
|
1060
1109
|
|
|
1061
1110
|
Notes:
|
|
1062
1111
|
- Kimi uses OpenAI-compatible Chat Completions.
|
|
1063
|
-
- Supported models: `kimi-k3`, `kimi-
|
|
1112
|
+
- Supported models: `kimi-k3.1-pro`, `kimi-k3.1-pro-highspeed`, `kimi-k3`, `kimi-k2.7-code`, `kimi-k2.7-code-highspeed`, `kimi-k2.6`
|
|
1113
|
+
- `kimi-k2.5` was discontinued by Kimi on 2026-08-31. It remains exported in `KIMI_DEPRECATED_MODELS`, but is no longer in the supported model list.
|
|
1064
1114
|
- `kimi-k2.6` remains the default model for chat-oriented usage.
|
|
1065
|
-
- Kimi K3
|
|
1066
|
-
- Kimi K3
|
|
1067
|
-
- For Kimi K3 multi-turn and tool-call flows, append the returned `completion.assistant_message` to history so `reasoning_content` and `tool_calls` are preserved.
|
|
1115
|
+
- Kimi K3 and K3.1 Pro (including Highspeed) are explicit reasoning models. It accepts `reasoning_effort: 'low' | 'high' | 'max'`, defaults to `max`, always reasons, and does not accept the K2.x `thinking` option. `none`, `minimal`, and `medium` are not supported.
|
|
1116
|
+
- Kimi K3-family models use `max_completion_tokens` for configured response limits.
|
|
1117
|
+
- For Kimi K3-family multi-turn and tool-call flows, append the returned `completion.assistant_message` to history so `reasoning_content` and `tool_calls` are preserved.
|
|
1068
1118
|
- Kimi K2.7 Code models are coding-oriented and require thinking mode, so they keep `thinking` enabled even when tools are used.
|
|
1069
1119
|
- Explicitly setting `thinking: { type: 'disabled' }` with Kimi K2.7 Code models throws before sending the request.
|
|
1070
1120
|
- For older Kimi models, when tools are enabled, `thinking` is forced to `{ type: 'disabled' }`.
|
|
@@ -1604,14 +1654,14 @@ without hard-coding provider-specific rules.
|
|
|
1604
1654
|
|
|
1605
1655
|
Currently, the following AI providers are built-in:
|
|
1606
1656
|
|
|
1607
|
-
- **OpenAI**: GPT-6.1 Sol (`gpt-6.1-sol`, tools via Responses), GPT-6 Astra (`gpt-6-astra`), GPT-6 Sol (`gpt-6-sol`), and GPT-6 Luna (`gpt-6-luna`, Responses API by default); Supports models like GPT-5.6 (Sol/Terra/Luna), GPT-5.5, GPT-5.4 Pro, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5.1, GPT-5 (Nano/Mini/Standard), GPT-4.1 (including mini and nano), GPT-4, GPT-4o-mini, O3-mini, o1, o1-mini
|
|
1657
|
+
- **OpenAI**: GPT-6.1 Terra (`gpt-6.1-terra`, explicit, tools via Responses), GPT-6.1 Sol (`gpt-6.1-sol`, tools via Responses), GPT-6 Astra (`gpt-6-astra`), GPT-6 Sol (`gpt-6-sol`), and GPT-6 Luna (`gpt-6-luna`, Responses API by default); Supports models like GPT-5.6 (Sol/Terra/Luna), GPT-5.5, GPT-5.4 Pro, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5.1, GPT-5 (Nano/Mini/Standard), GPT-4.1 (including mini and nano), GPT-4, GPT-4o-mini, O3-mini, o1, o1-mini
|
|
1608
1658
|
- **OpenAI-Compatible**: Supports arbitrary local/self-hosted model IDs via OpenAI-compatible endpoints. Vision capability is treated as `unknown` unless your app knows the endpoint-specific model catalog.
|
|
1609
|
-
- **Gemini**: Supports recommended models like Gemini 3.8 Flash, Gemini 3.
|
|
1610
|
-
- **Claude**: Claude Haiku 5.5 (`claude-haiku-5-5`, explicit), Claude Opus 5.5 (`claude-opus-5-5`), Claude Sonnet 5.5 (`claude-sonnet-5-5`), and Claude Fable 5.1 (`claude-fable-5-1`); Supports current Claude API model IDs including Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Opus 4.5, Claude Sonnet 4.6,
|
|
1611
|
-
- **OpenRouter**: Mistral Large 4 (`mistralai/mistral-large-4-0`, explicit public preview),
|
|
1659
|
+
- **Gemini**: Supports recommended models like Gemini 3.8 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash-Lite, Gemini 3.1 Flash-Lite, Gemini 3.1 Pro Preview, Gemini 3 Flash Preview, Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.5 Flash Lite, Gemma 4 31B IT, and Gemma 4 26B A4B IT. Gemini 3 models default to their lowest supported thinking level for chat-style responses. Gemini 3.8 Flash, Gemini 3.7 Flash, and Gemini 3 Pro use low because they do not support minimal; other Gemini 3 Flash models use minimal. Deprecated lifecycle models such as Gemini 3.7 Flash, Gemini 3.5 Flash, Gemini 3.1 Flash-Lite Preview, Gemini 3 Pro Preview, and Gemini 2.5 Flash Lite Preview remain exported for explicit use.
|
|
1660
|
+
- **Claude**: Claude Haiku 5.5 (`claude-haiku-5-5`, explicit), Claude Opus 5.5 (`claude-opus-5-5`), Claude Sonnet 5.5 (`claude-sonnet-5-5`), and Claude Fable 5.1 (`claude-fable-5-1`); Supports current Claude API model IDs including Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Opus 4.5, Claude Sonnet 4.6, and Claude Haiku 4.5. Adjustable `reasoning_effort` is sent as `output_config.effort` only for models that support it; refusal metadata is preserved as a terminal completion.
|
|
1661
|
+
- **OpenRouter**: Pareto 26.9 (`unbiased/pareto-26.9`), Mistral Large 4 (`mistralai/mistral-large-4-0`, explicit public preview), Ling 3.1 Flash (text-only, explicit), Solar Mini4, Solar Pro 4, MiMo V2.6 Flash, GPT-6.1 Sol, GPT-6 Sol/Luna/Astra/Pro, Claude Sonnet 5.5/Opus 5.5, Grok 4.7, Claude Fable 5.1, DeepSeek V4.1 Flash, Gemini 3.8 Flash, Mercury 2.5, Qwen3.8 Max, Muse Spark 1.3; Supports a curated OpenRouter model list (OpenAI/Claude/Gemini/Z.ai/xAI/Kimi/DeepSeek/Qwen), including GLM-5.3/FlashX, Qwen3.8 Flash, DeepSeek V4 Flash Vision Exp, Claude Sonnet 5/Opus 4.8, and Kimi K2.6. See the OpenRouter section for model IDs. Explicit options also include `nvidia/nemotron-3.5-lightning` (text-only), `qwen/qwen3.8-27b`, and `qwen/qwen3.8-omni-flash` (image input). The default is `google/gemma-4-31b-it:free`; `nvidia/nemotron-3.5-super-vl:free` is also listed as a free model. Additional models: `anthropic/claude-haiku-5.5`, `inception/mercury-3`, `deepseek/deepseek-v4.1-flash-1017`, `moonshotai/kimi-k3.1-pro`, `minimax/minimax-m3.1-flash`, `unbiased/pareto-26.10`, `inclusionai/ling-3.0-flash-vl`, `nex-agi/nex-n2.5-pro`. `openai/gpt-6.1-terra` is also an explicit option.
|
|
1612
1662
|
- **Z.ai**: Supports GLM-5.3/GLM-5.2/GLM-5.1/GLM-5/GLM-5-Turbo and GLM-4.7/4.6 text models, plus GLM-5.3-FlashX/GLM-5.3-Flash/GLM-5V-Turbo/GLM-4.6V vision models. GLM-5.3 always thinks and defaults to `low`; GLM-5.2 defaults to `none`.
|
|
1613
1663
|
- **xAI**: Supports Grok 4.7, Grok 4.6, Grok 4.5, Grok 4.3, and Grok 4.20 Reasoning/Non-Reasoning with vision. Grok 4.7/4.6/4.5 use package-default `reasoning_effort: 'low'`; Grok 4.3 defaults to `none`.
|
|
1614
|
-
- **Kimi**: Supports Kimi K3 (`kimi-k3`, `low` / `high` / `max` reasoning with `max` as the default), Kimi K2.7 Code (`kimi-k2.7-code`), Kimi K2.7 Code HighSpeed (`kimi-k2.7-code-highspeed`), Kimi K2.6 (`kimi-k2.6`, default)
|
|
1664
|
+
- **Kimi**: Kimi K3.1 Pro (`kimi-k3.1-pro`) and Highspeed (`kimi-k3.1-pro-highspeed`) are explicit options with image input, tools, streaming, and the same reasoning controls as K3. Supports Kimi K3 (`kimi-k3`, `low` / `high` / `max` reasoning with `max` as the default), Kimi K2.7 Code (`kimi-k2.7-code`), Kimi K2.7 Code HighSpeed (`kimi-k2.7-code-highspeed`), and Kimi K2.6 (`kimi-k2.6`, default) with vision support
|
|
1615
1665
|
- **DeepSeek**: DeepSeek V4.1 Flash 1017 via the rolling `deepseek-flash` ID, plus text-only V4 Pro (`deepseek-v4-pro`), through OpenAI-compatible Chat Completions. Legacy Flash aliases remain available for compatibility. Thinking defaults to disabled for low-latency chat.
|
|
1616
1666
|
- **Mistral**: Supports the Ministral 3 family (`ministral-3b-2512`, `ministral-8b-2512`, `ministral-14b-2512`) and current Mistral generalist models, with streaming and vision support. Adjustable `reasoning_effort` is only sent for supported models. GLM-5.3 (`zai-glm-5-3`) is an explicit text-only option.
|
|
1617
1667
|
- **Sakana AI**: Supports Fugu (`fugu`), Fugu Ultra (`fugu-ultra-v1.1`), and vision-capable Sakana Namazu (`sakana-namazu`) via OpenAI-compatible Chat Completions. Namazu thinking defaults to disabled for responsive chat.
|
|
@@ -6,6 +6,7 @@ export declare const MODEL_CLAUDE_3_5_SONNET = "claude-3-5-sonnet-20241022";
|
|
|
6
6
|
export declare const MODEL_CLAUDE_3_7_SONNET = "claude-3-7-sonnet-20250219";
|
|
7
7
|
export declare const MODEL_CLAUDE_4_SONNET = "claude-sonnet-4-20250514";
|
|
8
8
|
export declare const MODEL_CLAUDE_4_OPUS = "claude-opus-4-20250514";
|
|
9
|
+
/** @deprecated Anthropic retires it on November 30, 2026. Use MODEL_CLAUDE_5_5_SONNET. */
|
|
9
10
|
export declare const MODEL_CLAUDE_4_5_SONNET = "claude-sonnet-4-5-20250929";
|
|
10
11
|
export declare const MODEL_CLAUDE_4_5_HAIKU = "claude-haiku-4-5-20251001";
|
|
11
12
|
export declare const MODEL_CLAUDE_4_5_OPUS = "claude-opus-4-5-20251101";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../../../src/constants/claude.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,0CAA0C,CAAC;AAE3E,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AAGzD,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,mBAAmB,2BAA2B,CAAC;AAC5D,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD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,UAQpC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAoChF,eAAO,MAAM,8BAA8B,UAe1C,CAAC;AAEF;;GAEG;AACH,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,MAAM,GACZ,SAAS,qBAAqB,EAAE,CAElC;AAED,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEnE;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,MAAM,GACZ,qBAAqB,GAAG,SAAS,CAEnC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,qBAAqB,GAC7B,qBAAqB,GAAG,SAAS,CAgBnC"}
|
|
@@ -14,6 +14,7 @@ exports.MODEL_CLAUDE_3_5_SONNET = 'claude-3-5-sonnet-20241022';
|
|
|
14
14
|
exports.MODEL_CLAUDE_3_7_SONNET = 'claude-3-7-sonnet-20250219';
|
|
15
15
|
exports.MODEL_CLAUDE_4_SONNET = 'claude-sonnet-4-20250514';
|
|
16
16
|
exports.MODEL_CLAUDE_4_OPUS = 'claude-opus-4-20250514';
|
|
17
|
+
/** @deprecated Anthropic retires it on November 30, 2026. Use MODEL_CLAUDE_5_5_SONNET. */
|
|
17
18
|
exports.MODEL_CLAUDE_4_5_SONNET = 'claude-sonnet-4-5-20250929';
|
|
18
19
|
exports.MODEL_CLAUDE_4_5_HAIKU = 'claude-haiku-4-5-20251001';
|
|
19
20
|
exports.MODEL_CLAUDE_4_5_OPUS = 'claude-opus-4-5-20251101';
|
|
@@ -27,8 +28,10 @@ exports.MODEL_CLAUDE_5_OPUS = 'claude-opus-5';
|
|
|
27
28
|
exports.MODEL_CLAUDE_5_5_OPUS = 'claude-opus-5-5';
|
|
28
29
|
exports.MODEL_CLAUDE_5_5_SONNET = 'claude-sonnet-5-5';
|
|
29
30
|
exports.MODEL_CLAUDE_5_5_HAIKU = 'claude-haiku-5-5';
|
|
30
|
-
//
|
|
31
|
+
// Deprecated and retired model ids remain exported so existing imports
|
|
32
|
+
// continue to compile.
|
|
31
33
|
exports.CLAUDE_DEPRECATED_MODELS = [
|
|
34
|
+
exports.MODEL_CLAUDE_4_5_SONNET,
|
|
32
35
|
exports.MODEL_CLAUDE_3_HAIKU,
|
|
33
36
|
exports.MODEL_CLAUDE_3_5_HAIKU,
|
|
34
37
|
exports.MODEL_CLAUDE_3_5_SONNET,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../src/constants/claude.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../src/constants/claude.ts"],"names":[],"mappings":";;;AA8FA,gFAIC;AAED,oEAEC;AAMD,0EAIC;AAKD,wEAmBC;AAxIY,QAAA,mBAAmB,GAAG,uCAAuC,CAAC;AAE9D,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAEzD,eAAe;AACF,QAAA,oBAAoB,GAAG,yBAAyB,CAAC;AACjD,QAAA,sBAAsB,GAAG,2BAA2B,CAAC;AACrD,QAAA,uBAAuB,GAAG,4BAA4B,CAAC;AACvD,QAAA,uBAAuB,GAAG,4BAA4B,CAAC;AACvD,QAAA,qBAAqB,GAAG,0BAA0B,CAAC;AACnD,QAAA,mBAAmB,GAAG,wBAAwB,CAAC;AAC5D,0FAA0F;AAC7E,QAAA,uBAAuB,GAAG,4BAA4B,CAAC;AACvD,QAAA,sBAAsB,GAAG,2BAA2B,CAAC;AACrD,QAAA,qBAAqB,GAAG,0BAA0B,CAAC;AACnD,QAAA,uBAAuB,GAAG,mBAAmB,CAAC;AAC9C,QAAA,qBAAqB,GAAG,iBAAiB,CAAC;AAC1C,QAAA,qBAAqB,GAAG,iBAAiB,CAAC;AAC1C,QAAA,qBAAqB,GAAG,iBAAiB,CAAC;AAC1C,Q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BAAqB;IACrB,6BAAqB;IACrB,6BAAqB;IACrB,4BAAoB;IACpB,6BAAqB;IACrB,2BAAmB;IACnB,6BAAqB;IACrB,+BAAuB;IACvB,8BAAsB;CACvB,CAAC;AAEF;;GAEG;AACH,SAAgB,kCAAkC,CAChD,KAAa;IAEb,OAAO,iCAAiC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;AACxD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAa;IACxD,OAAO,kCAAkC,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;AAC9D,CAAC;AAED;;;GAGG;AACH,SAAgB,+BAA+B,CAC7C,KAAa;IAEb,OAAO,4BAA4B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AACjE,CAAC;AAED;;GAEG;AACH,SAAgB,8BAA8B,CAC5C,KAAa,EACb,MAA8B;IAE9B,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,CAAC;IAC5D,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,+BAA+B,CAAC,KAAK,CAAC,CAAC;IAChD,CAAC;IAED,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAC/B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,uEAAuE;IACvE,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -2,8 +2,10 @@ export declare const ENDPOINT_GEMINI_API = "https://generativelanguage.googleapi
|
|
|
2
2
|
export declare const MODEL_GEMMA_4_31B_IT = "gemma-4-31b-it";
|
|
3
3
|
export declare const MODEL_GEMMA_4_26B_A4B_IT = "gemma-4-26b-a4b-it";
|
|
4
4
|
export declare const MODEL_GEMINI_3_8_FLASH = "gemini-3.8-flash";
|
|
5
|
+
/** @deprecated Google routes requests to gemini-3.8-flash. Use MODEL_GEMINI_3_8_FLASH. */
|
|
5
6
|
export declare const MODEL_GEMINI_3_7_FLASH = "gemini-3.7-flash";
|
|
6
7
|
export declare const MODEL_GEMINI_3_6_FLASH = "gemini-3.6-flash";
|
|
8
|
+
/** @deprecated Google routes requests to gemini-3.6-flash. Use MODEL_GEMINI_3_6_FLASH. */
|
|
7
9
|
export declare const MODEL_GEMINI_3_5_FLASH = "gemini-3.5-flash";
|
|
8
10
|
export declare const MODEL_GEMINI_3_5_FLASH_LITE = "gemini-3.5-flash-lite";
|
|
9
11
|
export declare const MODEL_GEMINI_3_1_PRO_PREVIEW = "gemini-3.1-pro-preview";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gemini.d.ts","sourceRoot":"","sources":["../../../src/constants/gemini.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,8CAA8C,CAAC;AAG/E,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAC7D,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,2BAA2B,0BAA0B,CAAC;AACnE,eAAO,MAAM,4BAA4B,2BAA2B,CAAC;AACrE,eAAO,MAAM,2BAA2B,0BAA0B,CAAC;AACnE,2DAA2D;AAC3D,eAAO,MAAM,mCAAmC,kCACf,CAAC;AAClC,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B,yBAAyB,CAAC;AACjE,eAAO,MAAM,4BAA4B,2BAA2B,CAAC;AACrE,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,2BAA2B,0BAA0B,CAAC;AACnE,2DAA2D;AAC3D,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CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEnE;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,MAAM,GACZ,qBAAqB,GAAG,SAAS,CAEnC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,qBAAqB,GAC7B,qBAAqB,GAAG,SAAS,CAWnC"}
|
|
@@ -11,8 +11,10 @@ exports.ENDPOINT_GEMINI_API = 'https://generativelanguage.googleapis.com';
|
|
|
11
11
|
exports.MODEL_GEMMA_4_31B_IT = 'gemma-4-31b-it';
|
|
12
12
|
exports.MODEL_GEMMA_4_26B_A4B_IT = 'gemma-4-26b-a4b-it';
|
|
13
13
|
exports.MODEL_GEMINI_3_8_FLASH = 'gemini-3.8-flash';
|
|
14
|
+
/** @deprecated Google routes requests to gemini-3.8-flash. Use MODEL_GEMINI_3_8_FLASH. */
|
|
14
15
|
exports.MODEL_GEMINI_3_7_FLASH = 'gemini-3.7-flash';
|
|
15
16
|
exports.MODEL_GEMINI_3_6_FLASH = 'gemini-3.6-flash';
|
|
17
|
+
/** @deprecated Google routes requests to gemini-3.6-flash. Use MODEL_GEMINI_3_6_FLASH. */
|
|
16
18
|
exports.MODEL_GEMINI_3_5_FLASH = 'gemini-3.5-flash';
|
|
17
19
|
exports.MODEL_GEMINI_3_5_FLASH_LITE = 'gemini-3.5-flash-lite';
|
|
18
20
|
exports.MODEL_GEMINI_3_1_PRO_PREVIEW = 'gemini-3.1-pro-preview';
|
|
@@ -29,9 +31,7 @@ exports.MODEL_GEMINI_2_5_FLASH_LITE = 'gemini-2.5-flash-lite';
|
|
|
29
31
|
exports.MODEL_GEMINI_2_5_FLASH_LITE_PREVIEW_06_17 = 'gemini-2.5-flash-lite-preview-06-17';
|
|
30
32
|
exports.GEMINI_RECOMMENDED_MODELS = [
|
|
31
33
|
exports.MODEL_GEMINI_3_8_FLASH,
|
|
32
|
-
exports.MODEL_GEMINI_3_7_FLASH,
|
|
33
34
|
exports.MODEL_GEMINI_3_6_FLASH,
|
|
34
|
-
exports.MODEL_GEMINI_3_5_FLASH,
|
|
35
35
|
exports.MODEL_GEMINI_3_5_FLASH_LITE,
|
|
36
36
|
exports.MODEL_GEMINI_3_1_FLASH_LITE,
|
|
37
37
|
exports.MODEL_GEMINI_3_1_PRO_PREVIEW,
|
|
@@ -43,6 +43,8 @@ exports.GEMINI_RECOMMENDED_MODELS = [
|
|
|
43
43
|
exports.MODEL_GEMMA_4_26B_A4B_IT,
|
|
44
44
|
];
|
|
45
45
|
exports.GEMINI_DEPRECATED_MODELS = [
|
|
46
|
+
exports.MODEL_GEMINI_3_7_FLASH,
|
|
47
|
+
exports.MODEL_GEMINI_3_5_FLASH,
|
|
46
48
|
exports.MODEL_GEMINI_3_1_FLASH_LITE_PREVIEW,
|
|
47
49
|
exports.MODEL_GEMINI_3_PRO_PREVIEW,
|
|
48
50
|
exports.MODEL_GEMINI_2_5_FLASH_LITE_PREVIEW_06_17,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gemini.js","sourceRoot":"","sources":["../../../src/constants/gemini.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"gemini.js","sourceRoot":"","sources":["../../../src/constants/gemini.ts"],"names":[],"mappings":";;;AA4FA,gFAYC;AAED,oEAEC;AAKD,0EAIC;AAKD,wEAcC;AAxID,gBAAgB;AACH,QAAA,mBAAmB,GAAG,2CAA2C,CAAC;AAE/E,wBAAwB;AACX,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AACxC,QAAA,wBAAwB,GAAG,oBAAoB,CAAC;AAChD,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AACzD,0FAA0F;AAC7E,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAC5C,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AACzD,0FAA0F;AAC7E,QAAA,sBAAsB,GAAG,kBAAkB,CAAC;AAC5C,QAAA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AA4B;IAC5B,kCAA0B;CAC3B,CAAC;AAEF;;;GAGG;AACH,SAAgB,kCAAkC,CAChD,KAAa;IAEb,IAAI,oCAAoC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QACzD,OAAO,8BAA8B,CAAC;IACxC,CAAC;IAED,IAAI,0CAA0C,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/D,OAAO,oCAAoC,CAAC;IAC9C,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAa;IACxD,OAAO,kCAAkC,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;AAC9D,CAAC;AAED;;GAEG;AACH,SAAgB,+BAA+B,CAC7C,KAAa;IAEb,OAAO,kCAAkC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,SAAgB,8BAA8B,CAC5C,KAAa,EACb,MAA8B;IAE9B,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,CAAC;IAC5D,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,MAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzC,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC"}
|
|
@@ -3,7 +3,11 @@ export declare const MODEL_KIMI_K3 = "kimi-k3";
|
|
|
3
3
|
export declare const MODEL_KIMI_K2_7_CODE = "kimi-k2.7-code";
|
|
4
4
|
export declare const MODEL_KIMI_K2_7_CODE_HIGHSPEED = "kimi-k2.7-code-highspeed";
|
|
5
5
|
export declare const MODEL_KIMI_K2_6 = "kimi-k2.6";
|
|
6
|
+
/** @deprecated Discontinued by Kimi on August 31, 2026. Use MODEL_KIMI_K2_6. */
|
|
6
7
|
export declare const MODEL_KIMI_K2_5 = "kimi-k2.5";
|
|
8
|
+
export declare const MODEL_KIMI_K3_1_PRO = "kimi-k3.1-pro";
|
|
9
|
+
export declare const MODEL_KIMI_K3_1_PRO_HIGHSPEED = "kimi-k3.1-pro-highspeed";
|
|
10
|
+
export declare const KIMI_DEPRECATED_MODELS: string[];
|
|
7
11
|
export type KimiReasoningEffort = 'low' | 'high' | 'max';
|
|
8
12
|
export declare const KIMI_VISION_SUPPORTED_MODELS: string[];
|
|
9
13
|
export declare const KIMI_THINKING_REQUIRED_MODELS: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kimi.d.ts","sourceRoot":"","sources":["../../../src/constants/kimi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAGhD,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,8BAA8B,6BAA6B,CAAC;AACzE,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,eAAO,MAAM,eAAe,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"kimi.d.ts","sourceRoot":"","sources":["../../../src/constants/kimi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAGhD,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AACrD,eAAO,MAAM,8BAA8B,6BAA6B,CAAC;AACzE,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,gFAAgF;AAChF,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AACnD,eAAO,MAAM,6BAA6B,4BAA4B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,UAAoB,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;AAYzD,eAAO,MAAM,4BAA4B,UAQxC,CAAC;AAGF,eAAO,MAAM,6BAA6B,UAGzC,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAElE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,MAAM,GACZ,SAAS,mBAAmB,EAAE,CAEhC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,GACZ,mBAAmB,GAAG,SAAS,CAEjC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KIMI_THINKING_REQUIRED_MODELS = exports.KIMI_VISION_SUPPORTED_MODELS = exports.MODEL_KIMI_K2_5 = exports.MODEL_KIMI_K2_6 = exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED = exports.MODEL_KIMI_K2_7_CODE = exports.MODEL_KIMI_K3 = exports.ENDPOINT_KIMI_CHAT_COMPLETIONS_API = void 0;
|
|
3
|
+
exports.KIMI_THINKING_REQUIRED_MODELS = exports.KIMI_VISION_SUPPORTED_MODELS = exports.KIMI_DEPRECATED_MODELS = exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED = exports.MODEL_KIMI_K3_1_PRO = exports.MODEL_KIMI_K2_5 = exports.MODEL_KIMI_K2_6 = exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED = exports.MODEL_KIMI_K2_7_CODE = exports.MODEL_KIMI_K3 = exports.ENDPOINT_KIMI_CHAT_COMPLETIONS_API = void 0;
|
|
4
4
|
exports.isKimiVisionModel = isKimiVisionModel;
|
|
5
5
|
exports.isKimiThinkingRequiredModel = isKimiThinkingRequiredModel;
|
|
6
6
|
exports.getKimiSupportedReasoningEfforts = getKimiSupportedReasoningEfforts;
|
|
@@ -12,8 +12,14 @@ exports.MODEL_KIMI_K3 = 'kimi-k3';
|
|
|
12
12
|
exports.MODEL_KIMI_K2_7_CODE = 'kimi-k2.7-code';
|
|
13
13
|
exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED = 'kimi-k2.7-code-highspeed';
|
|
14
14
|
exports.MODEL_KIMI_K2_6 = 'kimi-k2.6';
|
|
15
|
+
/** @deprecated Discontinued by Kimi on August 31, 2026. Use MODEL_KIMI_K2_6. */
|
|
15
16
|
exports.MODEL_KIMI_K2_5 = 'kimi-k2.5';
|
|
17
|
+
exports.MODEL_KIMI_K3_1_PRO = 'kimi-k3.1-pro';
|
|
18
|
+
exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED = 'kimi-k3.1-pro-highspeed';
|
|
19
|
+
exports.KIMI_DEPRECATED_MODELS = [exports.MODEL_KIMI_K2_5];
|
|
16
20
|
const KIMI_REASONING_EFFORTS_BY_MODEL = {
|
|
21
|
+
[exports.MODEL_KIMI_K3_1_PRO]: ['low', 'high', 'max'],
|
|
22
|
+
[exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED]: ['low', 'high', 'max'],
|
|
17
23
|
[exports.MODEL_KIMI_K3]: ['low', 'high', 'max'],
|
|
18
24
|
};
|
|
19
25
|
// Vision support for models
|
|
@@ -23,6 +29,8 @@ exports.KIMI_VISION_SUPPORTED_MODELS = [
|
|
|
23
29
|
exports.MODEL_KIMI_K2_7_CODE_HIGHSPEED,
|
|
24
30
|
exports.MODEL_KIMI_K2_6,
|
|
25
31
|
exports.MODEL_KIMI_K2_5,
|
|
32
|
+
exports.MODEL_KIMI_K3_1_PRO,
|
|
33
|
+
exports.MODEL_KIMI_K3_1_PRO_HIGHSPEED,
|
|
26
34
|
];
|
|
27
35
|
// Kimi K2.7 Code supports thinking mode only.
|
|
28
36
|
exports.KIMI_THINKING_REQUIRED_MODELS = [
|
|
@@ -51,7 +59,7 @@ function getKimiSupportedReasoningEfforts(model) {
|
|
|
51
59
|
* Get the official default reasoning effort for a Kimi model.
|
|
52
60
|
*/
|
|
53
61
|
function getDefaultKimiReasoningEffort(model) {
|
|
54
|
-
return model
|
|
62
|
+
return isKimiReasoningEffortModel(model) ? 'max' : undefined;
|
|
55
63
|
}
|
|
56
64
|
/**
|
|
57
65
|
* Check if a model uses reasoning_effort instead of the K2.x thinking field.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kimi.js","sourceRoot":"","sources":["../../../src/constants/kimi.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"kimi.js","sourceRoot":"","sources":["../../../src/constants/kimi.ts"],"names":[],"mappings":";;;AA8CA,8CAEC;AAKD,kEAEC;AAKD,4EAIC;AAKD,sEAIC;AAKD,gEAEC;AAhFY,QAAA,kCAAkC,GAC7C,6CAA6C,CAAC;AAEhD,cAAc;AACD,QAAA,aAAa,GAAG,SAAS,CAAC;AAC1B,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AACxC,QAAA,8BAA8B,GAAG,0BAA0B,CAAC;AAC5D,QAAA,eAAe,GAAG,WAAW,CAAC;AAC3C,gFAAgF;AACnE,QAAA,eAAe,GAAG,WAAW,CAAC;AAC9B,QAAA,mBAAmB,GAAG,eAAe,CAAC;AACtC,QAAA,6BAA6B,GAAG,yBAAyB,CAAC;AAE1D,QAAA,sBAAsB,GAAG,CAAC,uBAAe,CAAC,CAAC;AAIxD,MAAM,+BAA+B,GAGjC;IACF,CAAC,2BAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC;IAC7C,CAAC,qCAA6B,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC;IACvD,CAAC,qBAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC;CACxC,CAAC;AAEF,4BAA4B;AACf,QAAA,4BAA4B,GAAG;IAC1C,qBAAa;IACb,4BAAoB;IACpB,sCAA8B;IAC9B,uBAAe;IACf,uBAAe;IACf,2BAAmB;IACnB,qCAA6B;CAC9B,CAAC;AAEF,8CAA8C;AACjC,QAAA,6BAA6B,GAAG;IAC3C,4BAAoB;IACpB,sCAA8B;CAC/B,CAAC;AAEF;;GAEG;AACH,SAAgB,iBAAiB,CAAC,KAAa;IAC7C,OAAO,oCAA4B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACvD,OAAO,qCAA6B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACvD,CAAC;AAED;;GAEG;AACH,SAAgB,gCAAgC,CAC9C,KAAa;IAEb,OAAO,+BAA+B,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,SAAgB,6BAA6B,CAC3C,KAAa;IAEb,OAAO,0BAA0B,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/D,CAAC;AAED;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACtD,OAAO,gCAAgC,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;AAC5D,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare const MODEL_MINISTRAL_14B_2512 = "ministral-14b-2512";
|
|
|
6
6
|
export declare const MODEL_MISTRAL_SMALL_LATEST = "mistral-small-latest";
|
|
7
7
|
export declare const MODEL_MISTRAL_SMALL_2603 = "mistral-small-2603";
|
|
8
8
|
export declare const MODEL_MISTRAL_MEDIUM_3_5 = "mistral-medium-3-5";
|
|
9
|
-
/** @deprecated
|
|
9
|
+
/** @deprecated Deprecated on May 22, 2026 and retired by Mistral on August 31, 2026. */
|
|
10
10
|
export declare const MODEL_MISTRAL_MEDIUM_2508 = "mistral-medium-2508";
|
|
11
11
|
export declare const MODEL_MISTRAL_LARGE_LATEST = "mistral-large-latest";
|
|
12
12
|
export declare const MODEL_MISTRAL_LARGE_2512 = "mistral-large-2512";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mistral.d.ts","sourceRoot":"","sources":["../../../src/constants/mistral.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,8BAA8B,CAAC;AAChE,eAAO,MAAM,qCAAqC,+CAA6C,CAAC;AAGhG,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAG7D,eAAO,MAAM,0BAA0B,yBAAyB,CAAC;AACjE,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAC7D,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAC7D,
|
|
1
|
+
{"version":3,"file":"mistral.d.ts","sourceRoot":"","sources":["../../../src/constants/mistral.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,8BAA8B,CAAC;AAChE,eAAO,MAAM,qCAAqC,+CAA6C,CAAC;AAGhG,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAG7D,eAAO,MAAM,0BAA0B,yBAAyB,CAAC;AACjE,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAC7D,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAC7D,wFAAwF;AACxF,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAC/D,eAAO,MAAM,0BAA0B,yBAAyB,CAAC;AACjE,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAG7D,eAAO,MAAM,yBAAyB,gBAAgB,CAAC;AAEvD,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,CAAC;AAErD,eAAO,MAAM,wBAAwB,UAUpC,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAA8B,CAAC;AAErE,eAAO,MAAM,yCAAyC,UAGrD,CAAC;AAEF,eAAO,MAAM,+BAA+B,UAS3C,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEpE;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,GACb,MAAM,IAAI,sBAAsB,CAElC;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE3D"}
|
|
@@ -14,7 +14,7 @@ exports.MODEL_MINISTRAL_14B_2512 = 'ministral-14b-2512';
|
|
|
14
14
|
exports.MODEL_MISTRAL_SMALL_LATEST = 'mistral-small-latest';
|
|
15
15
|
exports.MODEL_MISTRAL_SMALL_2603 = 'mistral-small-2603';
|
|
16
16
|
exports.MODEL_MISTRAL_MEDIUM_3_5 = 'mistral-medium-3-5';
|
|
17
|
-
/** @deprecated
|
|
17
|
+
/** @deprecated Deprecated on May 22, 2026 and retired by Mistral on August 31, 2026. */
|
|
18
18
|
exports.MODEL_MISTRAL_MEDIUM_2508 = 'mistral-medium-2508';
|
|
19
19
|
exports.MODEL_MISTRAL_LARGE_LATEST = 'mistral-large-latest';
|
|
20
20
|
exports.MODEL_MISTRAL_LARGE_2512 = 'mistral-large-2512';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mistral.js","sourceRoot":"","sources":["../../../src/constants/mistral.ts"],"names":[],"mappings":";;;AAoDA,sEAEC;AAED,4DAIC;AAED,oDAEC;AAhEY,QAAA,oBAAoB,GAAG,2BAA2B,CAAC;AACnD,QAAA,qCAAqC,GAAG,GAAG,4BAAoB,mBAAmB,CAAC;AAEhG,wCAAwC;AAC3B,QAAA,uBAAuB,GAAG,mBAAmB,CAAC;AAC9C,QAAA,uBAAuB,GAAG,mBAAmB,CAAC;AAC9C,QAAA,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,4BAA4B;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ACxB,kCAA0B;IAC1B,gCAAwB;CACzB,CAAC;AAEF,SAAgB,6BAA6B,CAAC,KAAa;IACzD,OAAO,iDAAyC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,wBAAwB,CACtC,MAAc;IAEd,OAAO,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,MAAM,CAAC;AAChD,CAAC;AAED,SAAgB,oBAAoB,CAAC,KAAa;IAChD,OAAO,uCAA+B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
export declare const ENDPOINT_OPENAI_CHAT_COMPLETIONS_API = "https://api.openai.com/v1/chat/completions";
|
|
2
2
|
export declare const ENDPOINT_OPENAI_RESPONSES_API = "https://api.openai.com/v1/responses";
|
|
3
3
|
export declare const MODEL_GPT_6_1_SOL = "gpt-6.1-sol";
|
|
4
|
+
export declare const MODEL_GPT_6_1_TERRA = "gpt-6.1-terra";
|
|
4
5
|
export declare const MODEL_GPT_6_ASTRA = "gpt-6-astra";
|
|
5
6
|
export declare const MODEL_GPT_6_SOL = "gpt-6-sol";
|
|
6
7
|
export declare const MODEL_GPT_6_LUNA = "gpt-6-luna";
|
|
8
|
+
/** @deprecated OpenAI shuts it down on December 11, 2026. Use MODEL_GPT_5_6_LUNA. */
|
|
7
9
|
export declare const MODEL_GPT_5_NANO = "gpt-5-nano";
|
|
10
|
+
/** @deprecated OpenAI shuts it down on December 11, 2026. Use MODEL_GPT_5_6_TERRA. */
|
|
8
11
|
export declare const MODEL_GPT_5_MINI = "gpt-5-mini";
|
|
12
|
+
/** @deprecated OpenAI shuts it down on December 11, 2026. Use MODEL_GPT_5_6_SOL. */
|
|
9
13
|
export declare const MODEL_GPT_5 = "gpt-5";
|
|
14
|
+
/** @deprecated OpenAI shuts it down on April 1, 2027. Use MODEL_GPT_6_SOL. */
|
|
10
15
|
export declare const MODEL_GPT_5_1 = "gpt-5.1";
|
|
11
16
|
export declare const MODEL_GPT_5_4 = "gpt-5.4";
|
|
12
17
|
export declare const MODEL_GPT_5_5 = "gpt-5.5";
|
|
@@ -15,16 +20,22 @@ export declare const MODEL_GPT_5_6_SOL = "gpt-5.6-sol";
|
|
|
15
20
|
export declare const MODEL_GPT_5_6_TERRA = "gpt-5.6-terra";
|
|
16
21
|
export declare const MODEL_GPT_5_6_LUNA = "gpt-5.6-luna";
|
|
17
22
|
export declare const MODEL_GPT_5_4_MINI = "gpt-5.4-mini";
|
|
23
|
+
/** @deprecated OpenAI shuts it down on April 1, 2027. Use MODEL_GPT_6_LUNA. */
|
|
18
24
|
export declare const MODEL_GPT_5_4_NANO = "gpt-5.4-nano";
|
|
19
25
|
export declare const MODEL_GPT_5_4_PRO = "gpt-5.4-pro";
|
|
20
26
|
export declare const MODEL_GPT_4_1 = "gpt-4.1";
|
|
21
27
|
export declare const MODEL_GPT_4_1_MINI = "gpt-4.1-mini";
|
|
28
|
+
/** @deprecated Shut down by OpenAI on October 23, 2026. Use MODEL_GPT_5_6_LUNA. */
|
|
22
29
|
export declare const MODEL_GPT_4_1_NANO = "gpt-4.1-nano";
|
|
23
30
|
export declare const MODEL_GPT_4O_MINI = "gpt-4o-mini";
|
|
24
31
|
export declare const MODEL_GPT_4O = "gpt-4o";
|
|
32
|
+
/** @deprecated Shut down by OpenAI on October 23, 2026. Use MODEL_GPT_5_6_SOL. */
|
|
25
33
|
export declare const MODEL_O3_MINI = "o3-mini";
|
|
34
|
+
/** @deprecated Shut down by OpenAI in 2025. Use MODEL_GPT_5_6_SOL. */
|
|
26
35
|
export declare const MODEL_O1_MINI = "o1-mini";
|
|
36
|
+
/** @deprecated Shut down by OpenAI on October 23, 2026. Use MODEL_GPT_5_6_SOL. */
|
|
27
37
|
export declare const MODEL_O1 = "o1";
|
|
38
|
+
export declare const OPENAI_DEPRECATED_MODELS: string[];
|
|
28
39
|
export declare const VISION_SUPPORTED_MODELS: string[];
|
|
29
40
|
export declare const GPT_5_MODELS: string[];
|
|
30
41
|
export type OpenAIReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
@@ -50,7 +61,7 @@ export declare function allowsReasoningXHigh(model: string): boolean;
|
|
|
50
61
|
export declare function allowsReasoningMax(model: string): boolean;
|
|
51
62
|
/**
|
|
52
63
|
* Check if the provided model allows the reasoning_effort 'none' shortcut.
|
|
53
|
-
* Supported by GPT-6 Sol/Luna and GPT-5.1, GPT-5.4, GPT-5.5, and GPT-5.6
|
|
64
|
+
* Supported by GPT-6.1 Terra, GPT-6 Sol/Luna and GPT-5.1, GPT-5.4, GPT-5.5, and GPT-5.6
|
|
54
65
|
* family models, except Pro.
|
|
55
66
|
*/
|
|
56
67
|
export declare function allowsReasoningNone(model: string): boolean;
|