@xsai-ext/providers 0.4.3 → 0.4.4
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/dist/create.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/create.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as ModelProvider, C as ChatProvider, E as EmbedProvider, I as ImageProvider, S as SpeechProvider, T as TranscriptionProvider } from './types-DW1hvH0W.js';
|
|
2
2
|
export { c as createAnthropic, a as createOpenRouter } from './anthropic-C6HzSBof.js';
|
|
3
3
|
import { T as TogetheraiModels } from './types-B2HZyaCH.js';
|
|
4
4
|
import '@xsai/shared';
|
|
@@ -7,7 +7,7 @@ import '@xsai/shared';
|
|
|
7
7
|
* Create a Abacus Provider
|
|
8
8
|
* @see {@link https://abacus.ai/help/api}
|
|
9
9
|
*/
|
|
10
|
-
declare const createAbacus: (apiKey: string, baseURL?: string) => ChatProvider<"gpt-4.1-nano" | "grok-4-fast-non-reasoning" | "gemini-2.0-flash-001" | "gemini-3-flash-preview" | "route-llm" | "grok-code-fast-1" | "kimi-k2-turbo-preview" | "gemini-3-pro-preview" | "gemini-2.5-flash" | "gpt-4.1-mini" | "claude-opus-4-5-20251101" | "qwen-2.5-coder-32b" | "claude-sonnet-4-5-20250929" | "grok-4-0709" | "o3-mini" | "gpt-5.2-chat-latest" | "gemini-2.0-pro-exp-02-05" | "gpt-5.1" | "gpt-5-nano" | "claude-sonnet-4-20250514" | "gpt-4.1" | "o4-mini" | "claude-opus-4-20250514" | "gpt-5-mini" | "o3-pro" | "claude-3-7-sonnet-20250219" | "gemini-2.5-pro" | "gpt-4o-2024-11-20" | "o3" | "gpt-4o-mini" | "qwen3-max" | "gpt-5" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "claude-opus-4-1-20250805" | "gpt-5.2" | "gpt-5.1-chat-latest" | "claude-haiku-4-5-20251001" | "deepseek/deepseek-v3.1" | "openai/gpt-oss-120b" | "meta-llama/Meta-Llama-3.1-8B-Instruct" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-70B-Instruct" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-32B" | "Qwen/qwen3-coder-480b-a35b-instruct" | "zai-org/glm-4.7" | "zai-org/glm-4.5" | "zai-org/glm-4.6" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-V3.2"
|
|
10
|
+
declare const createAbacus: (apiKey: string, baseURL?: string) => ModelProvider & ChatProvider<"gpt-4.1-nano" | "grok-4-fast-non-reasoning" | "gemini-2.0-flash-001" | "gemini-3-flash-preview" | "route-llm" | "grok-code-fast-1" | "kimi-k2-turbo-preview" | "gemini-3-pro-preview" | "gemini-2.5-flash" | "gpt-4.1-mini" | "claude-opus-4-5-20251101" | "qwen-2.5-coder-32b" | "claude-sonnet-4-5-20250929" | "grok-4-0709" | "o3-mini" | "gpt-5.2-chat-latest" | "gemini-2.0-pro-exp-02-05" | "gpt-5.1" | "gpt-5-nano" | "claude-sonnet-4-20250514" | "gpt-4.1" | "o4-mini" | "claude-opus-4-20250514" | "gpt-5-mini" | "o3-pro" | "claude-3-7-sonnet-20250219" | "gemini-2.5-pro" | "gpt-4o-2024-11-20" | "o3" | "gpt-4o-mini" | "qwen3-max" | "gpt-5" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "claude-opus-4-1-20250805" | "gpt-5.2" | "gpt-5.1-chat-latest" | "claude-haiku-4-5-20251001" | "deepseek/deepseek-v3.1" | "openai/gpt-oss-120b" | "meta-llama/Meta-Llama-3.1-8B-Instruct" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-70B-Instruct" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-32B" | "Qwen/qwen3-coder-480b-a35b-instruct" | "zai-org/glm-4.7" | "zai-org/glm-4.5" | "zai-org/glm-4.6" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-V3.2">;
|
|
11
11
|
/**
|
|
12
12
|
* Create a Alibaba Provider
|
|
13
13
|
* @see {@link https://www.alibabacloud.com/help/en/model-studio/models}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as ModelProvider, C as ChatProvider, E as EmbedProvider, I as ImageProvider, S as SpeechProvider, T as TranscriptionProvider, a as ChatProviderWithExtraOptions } from './types-DW1hvH0W.js';
|
|
2
2
|
import { A as AnthropicOptions, O as OpenRouterOptions } from './anthropic-C6HzSBof.js';
|
|
3
3
|
import { A as AnthropicModels, O as OpenrouterModels, T as TogetheraiModels } from './types-B2HZyaCH.js';
|
|
4
4
|
import '@xsai/shared';
|
|
@@ -10,7 +10,7 @@ import '@xsai/shared';
|
|
|
10
10
|
* - baseURL - `https://routellm.abacus.ai/v1`
|
|
11
11
|
* - apiKey - `ABACUS_API_KEY`
|
|
12
12
|
*/
|
|
13
|
-
declare const abacus: ChatProvider<"gpt-4.1-nano" | "grok-4-fast-non-reasoning" | "gemini-2.0-flash-001" | "gemini-3-flash-preview" | "route-llm" | "grok-code-fast-1" | "kimi-k2-turbo-preview" | "gemini-3-pro-preview" | "gemini-2.5-flash" | "gpt-4.1-mini" | "claude-opus-4-5-20251101" | "qwen-2.5-coder-32b" | "claude-sonnet-4-5-20250929" | "grok-4-0709" | "o3-mini" | "gpt-5.2-chat-latest" | "gemini-2.0-pro-exp-02-05" | "gpt-5.1" | "gpt-5-nano" | "claude-sonnet-4-20250514" | "gpt-4.1" | "o4-mini" | "claude-opus-4-20250514" | "gpt-5-mini" | "o3-pro" | "claude-3-7-sonnet-20250219" | "gemini-2.5-pro" | "gpt-4o-2024-11-20" | "o3" | "gpt-4o-mini" | "qwen3-max" | "gpt-5" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "claude-opus-4-1-20250805" | "gpt-5.2" | "gpt-5.1-chat-latest" | "claude-haiku-4-5-20251001" | "deepseek/deepseek-v3.1" | "openai/gpt-oss-120b" | "meta-llama/Meta-Llama-3.1-8B-Instruct" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-70B-Instruct" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-32B" | "Qwen/qwen3-coder-480b-a35b-instruct" | "zai-org/glm-4.7" | "zai-org/glm-4.5" | "zai-org/glm-4.6" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-V3.2"
|
|
13
|
+
declare const abacus: ModelProvider & ChatProvider<"gpt-4.1-nano" | "grok-4-fast-non-reasoning" | "gemini-2.0-flash-001" | "gemini-3-flash-preview" | "route-llm" | "grok-code-fast-1" | "kimi-k2-turbo-preview" | "gemini-3-pro-preview" | "gemini-2.5-flash" | "gpt-4.1-mini" | "claude-opus-4-5-20251101" | "qwen-2.5-coder-32b" | "claude-sonnet-4-5-20250929" | "grok-4-0709" | "o3-mini" | "gpt-5.2-chat-latest" | "gemini-2.0-pro-exp-02-05" | "gpt-5.1" | "gpt-5-nano" | "claude-sonnet-4-20250514" | "gpt-4.1" | "o4-mini" | "claude-opus-4-20250514" | "gpt-5-mini" | "o3-pro" | "claude-3-7-sonnet-20250219" | "gemini-2.5-pro" | "gpt-4o-2024-11-20" | "o3" | "gpt-4o-mini" | "qwen3-max" | "gpt-5" | "grok-4-1-fast-non-reasoning" | "llama-3.3-70b-versatile" | "claude-opus-4-1-20250805" | "gpt-5.2" | "gpt-5.1-chat-latest" | "claude-haiku-4-5-20251001" | "deepseek/deepseek-v3.1" | "openai/gpt-oss-120b" | "meta-llama/Meta-Llama-3.1-8B-Instruct" | "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" | "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8" | "meta-llama/Meta-Llama-3.1-70B-Instruct" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen2.5-72B-Instruct" | "Qwen/QwQ-32B" | "Qwen/Qwen3-32B" | "Qwen/qwen3-coder-480b-a35b-instruct" | "zai-org/glm-4.7" | "zai-org/glm-4.5" | "zai-org/glm-4.6" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-V3.2">;
|
|
14
14
|
/**
|
|
15
15
|
* Alibaba Provider
|
|
16
16
|
* @see {@link https://www.alibabacloud.com/help/en/model-studio/models}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsai-ext/providers",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"description": "extra-small AI SDK.",
|
|
6
6
|
"author": "Moeru AI",
|
|
7
7
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@xsai/shared": "~0.4.
|
|
48
|
+
"@xsai/shared": "~0.4.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"scule": "^1.3.0",
|