@earendil-works/pi-ai 0.81.0 → 0.82.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.md +42 -4
- package/dist/api/anthropic-messages.d.ts.map +1 -1
- package/dist/api/anthropic-messages.js +26 -10
- package/dist/api/anthropic-messages.js.map +1 -1
- package/dist/api/azure-openai-responses.d.ts.map +1 -1
- package/dist/api/azure-openai-responses.js +21 -8
- package/dist/api/azure-openai-responses.js.map +1 -1
- package/dist/api/bedrock-converse-stream.d.ts.map +1 -1
- package/dist/api/bedrock-converse-stream.js +17 -10
- package/dist/api/bedrock-converse-stream.js.map +1 -1
- package/dist/api/constrained-sampling.d.ts +17 -0
- package/dist/api/constrained-sampling.d.ts.map +1 -0
- package/dist/api/constrained-sampling.js +100 -0
- package/dist/api/constrained-sampling.js.map +1 -0
- package/dist/api/google-generative-ai.d.ts.map +1 -1
- package/dist/api/google-generative-ai.js +7 -11
- package/dist/api/google-generative-ai.js.map +1 -1
- package/dist/api/google-shared.d.ts +4 -3
- package/dist/api/google-shared.d.ts.map +1 -1
- package/dist/api/google-shared.js +17 -3
- package/dist/api/google-shared.js.map +1 -1
- package/dist/api/google-vertex.d.ts.map +1 -1
- package/dist/api/google-vertex.js +7 -11
- package/dist/api/google-vertex.js.map +1 -1
- package/dist/api/mistral-conversations.d.ts.map +1 -1
- package/dist/api/mistral-conversations.js +13 -9
- package/dist/api/mistral-conversations.js.map +1 -1
- package/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/dist/api/openai-codex-responses.js +68 -27
- package/dist/api/openai-codex-responses.js.map +1 -1
- package/dist/api/openai-completions.d.ts +6 -7
- package/dist/api/openai-completions.d.ts.map +1 -1
- package/dist/api/openai-completions.js +131 -34
- package/dist/api/openai-completions.js.map +1 -1
- package/dist/api/openai-responses-shared.d.ts +5 -0
- package/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/dist/api/openai-responses-shared.js +173 -66
- package/dist/api/openai-responses-shared.js.map +1 -1
- package/dist/api/openai-responses.d.ts.map +1 -1
- package/dist/api/openai-responses.js +29 -7
- package/dist/api/openai-responses.js.map +1 -1
- package/dist/api/openrouter-images.d.ts.map +1 -1
- package/dist/api/openrouter-images.js +8 -3
- package/dist/api/openrouter-images.js.map +1 -1
- package/dist/auth/oauth/kimi-coding.d.ts +10 -0
- package/dist/auth/oauth/kimi-coding.d.ts.map +1 -0
- package/dist/auth/oauth/kimi-coding.js +249 -0
- package/dist/auth/oauth/kimi-coding.js.map +1 -0
- package/dist/auth/oauth/load.d.ts +4 -0
- package/dist/auth/oauth/load.d.ts.map +1 -1
- package/dist/auth/oauth/load.js +10 -0
- package/dist/auth/oauth/load.js.map +1 -1
- package/dist/auth/oauth/openrouter.d.ts +13 -0
- package/dist/auth/oauth/openrouter.d.ts.map +1 -0
- package/dist/auth/oauth/openrouter.js +222 -0
- package/dist/auth/oauth/openrouter.js.map +1 -0
- package/dist/bun-oauth.d.ts.map +1 -1
- package/dist/bun-oauth.js +4 -0
- package/dist/bun-oauth.js.map +1 -1
- package/dist/image-models.generated.d.ts +15 -0
- package/dist/image-models.generated.d.ts.map +1 -1
- package/dist/image-models.generated.js +15 -0
- package/dist/image-models.generated.js.map +1 -1
- package/dist/model-catalog.d.ts +17 -0
- package/dist/model-catalog.d.ts.map +1 -0
- package/dist/model-catalog.js +4 -0
- package/dist/model-catalog.js.map +1 -0
- package/dist/models.generated.d.ts +74 -4434
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/all.d.ts +2 -2
- package/dist/providers/all.d.ts.map +1 -1
- package/dist/providers/all.js +5 -3
- package/dist/providers/all.js.map +1 -1
- package/dist/providers/amazon-bedrock.models.d.ts +3 -439
- package/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.models.js +2 -1
- package/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/dist/providers/ant-ling.models.d.ts +3 -15
- package/dist/providers/ant-ling.models.d.ts.map +1 -1
- package/dist/providers/ant-ling.models.js +2 -1
- package/dist/providers/ant-ling.models.js.map +1 -1
- package/dist/providers/anthropic.models.d.ts +3 -59
- package/dist/providers/anthropic.models.d.ts.map +1 -1
- package/dist/providers/anthropic.models.js +2 -1
- package/dist/providers/anthropic.models.js.map +1 -1
- package/dist/providers/azure-openai-responses.models.d.ts +3 -187
- package/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.models.js +2 -1
- package/dist/providers/azure-openai-responses.models.js.map +1 -1
- package/dist/providers/cerebras.models.d.ts +3 -15
- package/dist/providers/cerebras.models.d.ts.map +1 -1
- package/dist/providers/cerebras.models.js +2 -1
- package/dist/providers/cerebras.models.js.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts +3 -171
- package/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.js +2 -1
- package/dist/providers/cloudflare-ai-gateway.models.js.map +1 -1
- package/dist/providers/cloudflare-workers-ai.models.d.ts +3 -55
- package/dist/providers/cloudflare-workers-ai.models.d.ts.map +1 -1
- package/dist/providers/cloudflare-workers-ai.models.js +2 -1
- package/dist/providers/cloudflare-workers-ai.models.js.map +1 -1
- package/dist/providers/data/.manifest.json +1 -1
- package/dist/providers/data/amazon-bedrock.json +1 -1
- package/dist/providers/data/ant-ling.json +1 -1
- package/dist/providers/data/anthropic.json +1 -1
- package/dist/providers/data/azure-openai-responses.json +1 -1
- package/dist/providers/data/cerebras.json +1 -1
- package/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/dist/providers/data/cloudflare-workers-ai.json +1 -1
- package/dist/providers/data/deepseek.json +1 -1
- package/dist/providers/data/fireworks.json +1 -1
- package/dist/providers/data/github-copilot.json +1 -1
- package/dist/providers/data/google-vertex.json +1 -1
- package/dist/providers/data/google.json +1 -1
- package/dist/providers/data/groq.json +1 -1
- package/dist/providers/data/huggingface.json +1 -1
- package/dist/providers/data/kimi-coding.json +1 -1
- package/dist/providers/data/minimax-cn.json +1 -1
- package/dist/providers/data/minimax.json +1 -1
- package/dist/providers/data/mistral.json +1 -1
- package/dist/providers/data/moonshotai-cn.json +1 -1
- package/dist/providers/data/moonshotai.json +1 -1
- package/dist/providers/data/nvidia.json +1 -1
- package/dist/providers/data/openai-codex.json +1 -1
- package/dist/providers/data/openai.json +1 -1
- package/dist/providers/data/opencode-go.json +1 -1
- package/dist/providers/data/opencode.json +1 -1
- package/dist/providers/data/openrouter.json +1 -1
- package/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/dist/providers/data/qwen-token-plan.json +1 -1
- package/dist/providers/data/together.json +1 -1
- package/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/dist/providers/data/xai.json +1 -1
- package/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
- package/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
- package/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
- package/dist/providers/data/xiaomi.json +1 -1
- package/dist/providers/data/zai-coding-cn.json +1 -1
- package/dist/providers/data/zai.json +1 -1
- package/dist/providers/deepseek.models.d.ts +3 -11
- package/dist/providers/deepseek.models.d.ts.map +1 -1
- package/dist/providers/deepseek.models.js +2 -1
- package/dist/providers/deepseek.models.js.map +1 -1
- package/dist/providers/fireworks.models.d.ts +3 -67
- package/dist/providers/fireworks.models.d.ts.map +1 -1
- package/dist/providers/fireworks.models.js +2 -1
- package/dist/providers/fireworks.models.js.map +1 -1
- package/dist/providers/github-copilot.models.d.ts +3 -115
- package/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/dist/providers/github-copilot.models.js +2 -1
- package/dist/providers/github-copilot.models.js.map +1 -1
- package/dist/providers/google-vertex.models.d.ts +3 -43
- package/dist/providers/google-vertex.models.d.ts.map +1 -1
- package/dist/providers/google-vertex.models.js +2 -1
- package/dist/providers/google-vertex.models.js.map +1 -1
- package/dist/providers/google.models.d.ts +3 -67
- package/dist/providers/google.models.d.ts.map +1 -1
- package/dist/providers/google.models.js +2 -1
- package/dist/providers/google.models.js.map +1 -1
- package/dist/providers/groq.models.d.ts +3 -31
- package/dist/providers/groq.models.d.ts.map +1 -1
- package/dist/providers/groq.models.js +2 -1
- package/dist/providers/groq.models.js.map +1 -1
- package/dist/providers/huggingface.models.d.ts +3 -199
- package/dist/providers/huggingface.models.d.ts.map +1 -1
- package/dist/providers/huggingface.models.js +2 -1
- package/dist/providers/huggingface.models.js.map +1 -1
- package/dist/providers/kimi-coding.d.ts.map +1 -1
- package/dist/providers/kimi-coding.js +10 -2
- package/dist/providers/kimi-coding.js.map +1 -1
- package/dist/providers/kimi-coding.models.d.ts +3 -15
- package/dist/providers/kimi-coding.models.d.ts.map +1 -1
- package/dist/providers/kimi-coding.models.js +2 -1
- package/dist/providers/kimi-coding.models.js.map +1 -1
- package/dist/providers/minimax-cn.models.d.ts +3 -15
- package/dist/providers/minimax-cn.models.d.ts.map +1 -1
- package/dist/providers/minimax-cn.models.js +2 -1
- package/dist/providers/minimax-cn.models.js.map +1 -1
- package/dist/providers/minimax.models.d.ts +3 -15
- package/dist/providers/minimax.models.d.ts.map +1 -1
- package/dist/providers/minimax.models.js +2 -1
- package/dist/providers/minimax.models.js.map +1 -1
- package/dist/providers/mistral.models.d.ts +3 -123
- package/dist/providers/mistral.models.d.ts.map +1 -1
- package/dist/providers/mistral.models.js +2 -1
- package/dist/providers/mistral.models.js.map +1 -1
- package/dist/providers/moonshotai-cn.models.d.ts +3 -43
- package/dist/providers/moonshotai-cn.models.d.ts.map +1 -1
- package/dist/providers/moonshotai-cn.models.js +2 -1
- package/dist/providers/moonshotai-cn.models.js.map +1 -1
- package/dist/providers/moonshotai.models.d.ts +3 -43
- package/dist/providers/moonshotai.models.d.ts.map +1 -1
- package/dist/providers/moonshotai.models.js +2 -1
- package/dist/providers/moonshotai.models.js.map +1 -1
- package/dist/providers/nvidia.models.d.ts +3 -79
- package/dist/providers/nvidia.models.d.ts.map +1 -1
- package/dist/providers/nvidia.models.js +2 -1
- package/dist/providers/nvidia.models.js.map +1 -1
- package/dist/providers/openai-codex.models.d.ts +3 -31
- package/dist/providers/openai-codex.models.d.ts.map +1 -1
- package/dist/providers/openai-codex.models.js +2 -1
- package/dist/providers/openai-codex.models.js.map +1 -1
- package/dist/providers/openai.models.d.ts +3 -187
- package/dist/providers/openai.models.d.ts.map +1 -1
- package/dist/providers/openai.models.js +2 -1
- package/dist/providers/openai.models.js.map +1 -1
- package/dist/providers/opencode-go.models.d.ts +3 -63
- package/dist/providers/opencode-go.models.d.ts.map +1 -1
- package/dist/providers/opencode-go.models.js +2 -1
- package/dist/providers/opencode-go.models.js.map +1 -1
- package/dist/providers/opencode.models.d.ts +3 -215
- package/dist/providers/opencode.models.d.ts.map +1 -1
- package/dist/providers/opencode.models.js +2 -1
- package/dist/providers/opencode.models.js.map +1 -1
- package/dist/providers/openrouter-images.d.ts.map +1 -1
- package/dist/providers/openrouter-images.js +10 -2
- package/dist/providers/openrouter-images.js.map +1 -1
- package/dist/providers/openrouter.d.ts.map +1 -1
- package/dist/providers/openrouter.js +10 -2
- package/dist/providers/openrouter.js.map +1 -1
- package/dist/providers/openrouter.models.d.ts +3 -1079
- package/dist/providers/openrouter.models.d.ts.map +1 -1
- package/dist/providers/openrouter.models.js +2 -1
- package/dist/providers/openrouter.models.js.map +1 -1
- package/dist/providers/qwen-token-plan-cn.models.d.ts +3 -63
- package/dist/providers/qwen-token-plan-cn.models.d.ts.map +1 -1
- package/dist/providers/qwen-token-plan-cn.models.js +2 -1
- package/dist/providers/qwen-token-plan-cn.models.js.map +1 -1
- package/dist/providers/qwen-token-plan.models.d.ts +3 -63
- package/dist/providers/qwen-token-plan.models.d.ts.map +1 -1
- package/dist/providers/qwen-token-plan.models.js +2 -1
- package/dist/providers/qwen-token-plan.models.js.map +1 -1
- package/dist/providers/together.models.d.ts +3 -67
- package/dist/providers/together.models.d.ts.map +1 -1
- package/dist/providers/together.models.js +2 -1
- package/dist/providers/together.models.js.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.d.ts +3 -755
- package/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.js +2 -1
- package/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/dist/providers/xai.models.d.ts +3 -15
- package/dist/providers/xai.models.d.ts.map +1 -1
- package/dist/providers/xai.models.js +2 -1
- package/dist/providers/xai.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.d.ts +3 -15
- package/dist/providers/xiaomi-token-plan-ams.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.js +2 -1
- package/dist/providers/xiaomi-token-plan-ams.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.d.ts +3 -15
- package/dist/providers/xiaomi-token-plan-cn.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.js +2 -1
- package/dist/providers/xiaomi-token-plan-cn.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.d.ts +3 -15
- package/dist/providers/xiaomi-token-plan-sgp.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.js +2 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.js.map +1 -1
- package/dist/providers/xiaomi.models.d.ts +3 -27
- package/dist/providers/xiaomi.models.d.ts.map +1 -1
- package/dist/providers/xiaomi.models.js +2 -1
- package/dist/providers/xiaomi.models.js.map +1 -1
- package/dist/providers/zai-coding-cn.models.d.ts +3 -27
- package/dist/providers/zai-coding-cn.models.d.ts.map +1 -1
- package/dist/providers/zai-coding-cn.models.js +2 -1
- package/dist/providers/zai-coding-cn.models.js.map +1 -1
- package/dist/providers/zai.models.d.ts +3 -27
- package/dist/providers/zai.models.d.ts.map +1 -1
- package/dist/providers/zai.models.js +2 -1
- package/dist/providers/zai.models.js.map +1 -1
- package/dist/types.d.ts +35 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/provider-retry.d.ts +16 -0
- package/dist/utils/provider-retry.d.ts.map +1 -0
- package/dist/utils/provider-retry.js +94 -0
- package/dist/utils/provider-retry.js.map +1 -0
- package/dist/utils/retry.d.ts +41 -0
- package/dist/utils/retry.d.ts.map +1 -1
- package/dist/utils/retry.js +82 -0
- package/dist/utils/retry.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,60 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
id: "claude-fable-5";
|
|
5
|
-
provider: "anthropic";
|
|
6
|
-
};
|
|
7
|
-
"claude-haiku-4-5": Model<"anthropic-messages"> & {
|
|
8
|
-
id: "claude-haiku-4-5";
|
|
9
|
-
provider: "anthropic";
|
|
10
|
-
};
|
|
11
|
-
"claude-haiku-4-5-20251001": Model<"anthropic-messages"> & {
|
|
12
|
-
id: "claude-haiku-4-5-20251001";
|
|
13
|
-
provider: "anthropic";
|
|
14
|
-
};
|
|
15
|
-
"claude-opus-4-1": Model<"anthropic-messages"> & {
|
|
16
|
-
id: "claude-opus-4-1";
|
|
17
|
-
provider: "anthropic";
|
|
18
|
-
};
|
|
19
|
-
"claude-opus-4-1-20250805": Model<"anthropic-messages"> & {
|
|
20
|
-
id: "claude-opus-4-1-20250805";
|
|
21
|
-
provider: "anthropic";
|
|
22
|
-
};
|
|
23
|
-
"claude-opus-4-5": Model<"anthropic-messages"> & {
|
|
24
|
-
id: "claude-opus-4-5";
|
|
25
|
-
provider: "anthropic";
|
|
26
|
-
};
|
|
27
|
-
"claude-opus-4-5-20251101": Model<"anthropic-messages"> & {
|
|
28
|
-
id: "claude-opus-4-5-20251101";
|
|
29
|
-
provider: "anthropic";
|
|
30
|
-
};
|
|
31
|
-
"claude-opus-4-6": Model<"anthropic-messages"> & {
|
|
32
|
-
id: "claude-opus-4-6";
|
|
33
|
-
provider: "anthropic";
|
|
34
|
-
};
|
|
35
|
-
"claude-opus-4-7": Model<"anthropic-messages"> & {
|
|
36
|
-
id: "claude-opus-4-7";
|
|
37
|
-
provider: "anthropic";
|
|
38
|
-
};
|
|
39
|
-
"claude-opus-4-8": Model<"anthropic-messages"> & {
|
|
40
|
-
id: "claude-opus-4-8";
|
|
41
|
-
provider: "anthropic";
|
|
42
|
-
};
|
|
43
|
-
"claude-sonnet-4-5": Model<"anthropic-messages"> & {
|
|
44
|
-
id: "claude-sonnet-4-5";
|
|
45
|
-
provider: "anthropic";
|
|
46
|
-
};
|
|
47
|
-
"claude-sonnet-4-5-20250929": Model<"anthropic-messages"> & {
|
|
48
|
-
id: "claude-sonnet-4-5-20250929";
|
|
49
|
-
provider: "anthropic";
|
|
50
|
-
};
|
|
51
|
-
"claude-sonnet-4-6": Model<"anthropic-messages"> & {
|
|
52
|
-
id: "claude-sonnet-4-6";
|
|
53
|
-
provider: "anthropic";
|
|
54
|
-
};
|
|
55
|
-
"claude-sonnet-5": Model<"anthropic-messages"> & {
|
|
56
|
-
id: "claude-sonnet-5";
|
|
57
|
-
provider: "anthropic";
|
|
58
|
-
};
|
|
59
|
-
};
|
|
1
|
+
import values from "./data/anthropic.json";
|
|
2
|
+
import { type ModelCatalog } from "../model-catalog.ts";
|
|
3
|
+
export declare const ANTHROPIC_MODELS: ModelCatalog<typeof values, "anthropic">;
|
|
60
4
|
//# sourceMappingURL=anthropic.models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anthropic.models.d.ts","sourceRoot":"","sources":["../../src/providers/anthropic.models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"anthropic.models.d.ts","sourceRoot":"","sources":["../../src/providers/anthropic.models.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,MAAM,uBAAuB,CAAuB;AACjE,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE7E,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,OAAO,MAAM,EAAE,WAAW,CAC7B,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport values from \"./data/anthropic.json\" with { type: \"json\" };\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nexport const ANTHROPIC_MODELS: ModelCatalog<typeof values, \"anthropic\"> =\n\tflattenModelCatalog(\"anthropic\", values);\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-models.ts
|
|
2
2
|
// Do not edit manually - run 'npm run generate-models' to update
|
|
3
3
|
import values from "./data/anthropic.json" with { type: "json" };
|
|
4
|
-
|
|
4
|
+
import { flattenModelCatalog } from "../model-catalog.js";
|
|
5
|
+
export const ANTHROPIC_MODELS = flattenModelCatalog("anthropic", values);
|
|
5
6
|
//# sourceMappingURL=anthropic.models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anthropic.models.js","sourceRoot":"","sources":["../../src/providers/anthropic.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAEjE,OAAO,MAAM,MAAM,uBAAuB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"anthropic.models.js","sourceRoot":"","sources":["../../src/providers/anthropic.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAEjE,OAAO,MAAM,MAAM,uBAAuB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,qBAAqB,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAC5B,mBAAmB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport values from \"./data/anthropic.json\" with { type: \"json\" };\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nexport const ANTHROPIC_MODELS: ModelCatalog<typeof values, \"anthropic\"> =\n\tflattenModelCatalog(\"anthropic\", values);\n"]}
|
|
@@ -1,188 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
id: "gpt-4";
|
|
5
|
-
provider: "azure-openai-responses";
|
|
6
|
-
};
|
|
7
|
-
"gpt-4-turbo": Model<"azure-openai-responses"> & {
|
|
8
|
-
id: "gpt-4-turbo";
|
|
9
|
-
provider: "azure-openai-responses";
|
|
10
|
-
};
|
|
11
|
-
"gpt-4.1": Model<"azure-openai-responses"> & {
|
|
12
|
-
id: "gpt-4.1";
|
|
13
|
-
provider: "azure-openai-responses";
|
|
14
|
-
};
|
|
15
|
-
"gpt-4.1-mini": Model<"azure-openai-responses"> & {
|
|
16
|
-
id: "gpt-4.1-mini";
|
|
17
|
-
provider: "azure-openai-responses";
|
|
18
|
-
};
|
|
19
|
-
"gpt-4.1-nano": Model<"azure-openai-responses"> & {
|
|
20
|
-
id: "gpt-4.1-nano";
|
|
21
|
-
provider: "azure-openai-responses";
|
|
22
|
-
};
|
|
23
|
-
"gpt-4o": Model<"azure-openai-responses"> & {
|
|
24
|
-
id: "gpt-4o";
|
|
25
|
-
provider: "azure-openai-responses";
|
|
26
|
-
};
|
|
27
|
-
"gpt-4o-2024-05-13": Model<"azure-openai-responses"> & {
|
|
28
|
-
id: "gpt-4o-2024-05-13";
|
|
29
|
-
provider: "azure-openai-responses";
|
|
30
|
-
};
|
|
31
|
-
"gpt-4o-2024-08-06": Model<"azure-openai-responses"> & {
|
|
32
|
-
id: "gpt-4o-2024-08-06";
|
|
33
|
-
provider: "azure-openai-responses";
|
|
34
|
-
};
|
|
35
|
-
"gpt-4o-2024-11-20": Model<"azure-openai-responses"> & {
|
|
36
|
-
id: "gpt-4o-2024-11-20";
|
|
37
|
-
provider: "azure-openai-responses";
|
|
38
|
-
};
|
|
39
|
-
"gpt-4o-mini": Model<"azure-openai-responses"> & {
|
|
40
|
-
id: "gpt-4o-mini";
|
|
41
|
-
provider: "azure-openai-responses";
|
|
42
|
-
};
|
|
43
|
-
"gpt-5": Model<"azure-openai-responses"> & {
|
|
44
|
-
id: "gpt-5";
|
|
45
|
-
provider: "azure-openai-responses";
|
|
46
|
-
};
|
|
47
|
-
"gpt-5-chat-latest": Model<"azure-openai-responses"> & {
|
|
48
|
-
id: "gpt-5-chat-latest";
|
|
49
|
-
provider: "azure-openai-responses";
|
|
50
|
-
};
|
|
51
|
-
"gpt-5-codex": Model<"azure-openai-responses"> & {
|
|
52
|
-
id: "gpt-5-codex";
|
|
53
|
-
provider: "azure-openai-responses";
|
|
54
|
-
};
|
|
55
|
-
"gpt-5-mini": Model<"azure-openai-responses"> & {
|
|
56
|
-
id: "gpt-5-mini";
|
|
57
|
-
provider: "azure-openai-responses";
|
|
58
|
-
};
|
|
59
|
-
"gpt-5-nano": Model<"azure-openai-responses"> & {
|
|
60
|
-
id: "gpt-5-nano";
|
|
61
|
-
provider: "azure-openai-responses";
|
|
62
|
-
};
|
|
63
|
-
"gpt-5-pro": Model<"azure-openai-responses"> & {
|
|
64
|
-
id: "gpt-5-pro";
|
|
65
|
-
provider: "azure-openai-responses";
|
|
66
|
-
};
|
|
67
|
-
"gpt-5.1": Model<"azure-openai-responses"> & {
|
|
68
|
-
id: "gpt-5.1";
|
|
69
|
-
provider: "azure-openai-responses";
|
|
70
|
-
};
|
|
71
|
-
"gpt-5.1-chat-latest": Model<"azure-openai-responses"> & {
|
|
72
|
-
id: "gpt-5.1-chat-latest";
|
|
73
|
-
provider: "azure-openai-responses";
|
|
74
|
-
};
|
|
75
|
-
"gpt-5.1-codex": Model<"azure-openai-responses"> & {
|
|
76
|
-
id: "gpt-5.1-codex";
|
|
77
|
-
provider: "azure-openai-responses";
|
|
78
|
-
};
|
|
79
|
-
"gpt-5.1-codex-max": Model<"azure-openai-responses"> & {
|
|
80
|
-
id: "gpt-5.1-codex-max";
|
|
81
|
-
provider: "azure-openai-responses";
|
|
82
|
-
};
|
|
83
|
-
"gpt-5.1-codex-mini": Model<"azure-openai-responses"> & {
|
|
84
|
-
id: "gpt-5.1-codex-mini";
|
|
85
|
-
provider: "azure-openai-responses";
|
|
86
|
-
};
|
|
87
|
-
"gpt-5.2": Model<"azure-openai-responses"> & {
|
|
88
|
-
id: "gpt-5.2";
|
|
89
|
-
provider: "azure-openai-responses";
|
|
90
|
-
};
|
|
91
|
-
"gpt-5.2-chat-latest": Model<"azure-openai-responses"> & {
|
|
92
|
-
id: "gpt-5.2-chat-latest";
|
|
93
|
-
provider: "azure-openai-responses";
|
|
94
|
-
};
|
|
95
|
-
"gpt-5.2-codex": Model<"azure-openai-responses"> & {
|
|
96
|
-
id: "gpt-5.2-codex";
|
|
97
|
-
provider: "azure-openai-responses";
|
|
98
|
-
};
|
|
99
|
-
"gpt-5.2-pro": Model<"azure-openai-responses"> & {
|
|
100
|
-
id: "gpt-5.2-pro";
|
|
101
|
-
provider: "azure-openai-responses";
|
|
102
|
-
};
|
|
103
|
-
"gpt-5.3-chat-latest": Model<"azure-openai-responses"> & {
|
|
104
|
-
id: "gpt-5.3-chat-latest";
|
|
105
|
-
provider: "azure-openai-responses";
|
|
106
|
-
};
|
|
107
|
-
"gpt-5.3-codex": Model<"azure-openai-responses"> & {
|
|
108
|
-
id: "gpt-5.3-codex";
|
|
109
|
-
provider: "azure-openai-responses";
|
|
110
|
-
};
|
|
111
|
-
"gpt-5.3-codex-spark": Model<"azure-openai-responses"> & {
|
|
112
|
-
id: "gpt-5.3-codex-spark";
|
|
113
|
-
provider: "azure-openai-responses";
|
|
114
|
-
};
|
|
115
|
-
"gpt-5.4": Model<"azure-openai-responses"> & {
|
|
116
|
-
id: "gpt-5.4";
|
|
117
|
-
provider: "azure-openai-responses";
|
|
118
|
-
};
|
|
119
|
-
"gpt-5.4-mini": Model<"azure-openai-responses"> & {
|
|
120
|
-
id: "gpt-5.4-mini";
|
|
121
|
-
provider: "azure-openai-responses";
|
|
122
|
-
};
|
|
123
|
-
"gpt-5.4-nano": Model<"azure-openai-responses"> & {
|
|
124
|
-
id: "gpt-5.4-nano";
|
|
125
|
-
provider: "azure-openai-responses";
|
|
126
|
-
};
|
|
127
|
-
"gpt-5.4-pro": Model<"azure-openai-responses"> & {
|
|
128
|
-
id: "gpt-5.4-pro";
|
|
129
|
-
provider: "azure-openai-responses";
|
|
130
|
-
};
|
|
131
|
-
"gpt-5.5": Model<"azure-openai-responses"> & {
|
|
132
|
-
id: "gpt-5.5";
|
|
133
|
-
provider: "azure-openai-responses";
|
|
134
|
-
};
|
|
135
|
-
"gpt-5.5-pro": Model<"azure-openai-responses"> & {
|
|
136
|
-
id: "gpt-5.5-pro";
|
|
137
|
-
provider: "azure-openai-responses";
|
|
138
|
-
};
|
|
139
|
-
"gpt-5.6-luna": Model<"azure-openai-responses"> & {
|
|
140
|
-
id: "gpt-5.6-luna";
|
|
141
|
-
provider: "azure-openai-responses";
|
|
142
|
-
};
|
|
143
|
-
"gpt-5.6-sol": Model<"azure-openai-responses"> & {
|
|
144
|
-
id: "gpt-5.6-sol";
|
|
145
|
-
provider: "azure-openai-responses";
|
|
146
|
-
};
|
|
147
|
-
"gpt-5.6-terra": Model<"azure-openai-responses"> & {
|
|
148
|
-
id: "gpt-5.6-terra";
|
|
149
|
-
provider: "azure-openai-responses";
|
|
150
|
-
};
|
|
151
|
-
"gpt-realtime-2.1": Model<"azure-openai-responses"> & {
|
|
152
|
-
id: "gpt-realtime-2.1";
|
|
153
|
-
provider: "azure-openai-responses";
|
|
154
|
-
};
|
|
155
|
-
o1: Model<"azure-openai-responses"> & {
|
|
156
|
-
id: "o1";
|
|
157
|
-
provider: "azure-openai-responses";
|
|
158
|
-
};
|
|
159
|
-
"o1-pro": Model<"azure-openai-responses"> & {
|
|
160
|
-
id: "o1-pro";
|
|
161
|
-
provider: "azure-openai-responses";
|
|
162
|
-
};
|
|
163
|
-
o3: Model<"azure-openai-responses"> & {
|
|
164
|
-
id: "o3";
|
|
165
|
-
provider: "azure-openai-responses";
|
|
166
|
-
};
|
|
167
|
-
"o3-deep-research": Model<"azure-openai-responses"> & {
|
|
168
|
-
id: "o3-deep-research";
|
|
169
|
-
provider: "azure-openai-responses";
|
|
170
|
-
};
|
|
171
|
-
"o3-mini": Model<"azure-openai-responses"> & {
|
|
172
|
-
id: "o3-mini";
|
|
173
|
-
provider: "azure-openai-responses";
|
|
174
|
-
};
|
|
175
|
-
"o3-pro": Model<"azure-openai-responses"> & {
|
|
176
|
-
id: "o3-pro";
|
|
177
|
-
provider: "azure-openai-responses";
|
|
178
|
-
};
|
|
179
|
-
"o4-mini": Model<"azure-openai-responses"> & {
|
|
180
|
-
id: "o4-mini";
|
|
181
|
-
provider: "azure-openai-responses";
|
|
182
|
-
};
|
|
183
|
-
"o4-mini-deep-research": Model<"azure-openai-responses"> & {
|
|
184
|
-
id: "o4-mini-deep-research";
|
|
185
|
-
provider: "azure-openai-responses";
|
|
186
|
-
};
|
|
187
|
-
};
|
|
1
|
+
import values from "./data/azure-openai-responses.json";
|
|
2
|
+
import { type ModelCatalog } from "../model-catalog.ts";
|
|
3
|
+
export declare const AZURE_OPENAI_RESPONSES_MODELS: ModelCatalog<typeof values, "azure-openai-responses">;
|
|
188
4
|
//# sourceMappingURL=azure-openai-responses.models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-responses.models.d.ts","sourceRoot":"","sources":["../../src/providers/azure-openai-responses.models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azure-openai-responses.models.d.ts","sourceRoot":"","sources":["../../src/providers/azure-openai-responses.models.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,MAAM,oCAAoC,CAAuB;AAC9E,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE7E,eAAO,MAAM,6BAA6B,EAAE,YAAY,CAAC,OAAO,MAAM,EAAE,wBAAwB,CAC1C,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport values from \"./data/azure-openai-responses.json\" with { type: \"json\" };\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nexport const AZURE_OPENAI_RESPONSES_MODELS: ModelCatalog<typeof values, \"azure-openai-responses\"> =\n\tflattenModelCatalog(\"azure-openai-responses\", values);\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-models.ts
|
|
2
2
|
// Do not edit manually - run 'npm run generate-models' to update
|
|
3
3
|
import values from "./data/azure-openai-responses.json" with { type: "json" };
|
|
4
|
-
|
|
4
|
+
import { flattenModelCatalog } from "../model-catalog.js";
|
|
5
|
+
export const AZURE_OPENAI_RESPONSES_MODELS = flattenModelCatalog("azure-openai-responses", values);
|
|
5
6
|
//# sourceMappingURL=azure-openai-responses.models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azure-openai-responses.models.js","sourceRoot":"","sources":["../../src/providers/azure-openai-responses.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAEjE,OAAO,MAAM,MAAM,oCAAoC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"azure-openai-responses.models.js","sourceRoot":"","sources":["../../src/providers/azure-openai-responses.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAEjE,OAAO,MAAM,MAAM,oCAAoC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAqB,MAAM,qBAAqB,CAAC;AAE7E,MAAM,CAAC,MAAM,6BAA6B,GACzC,mBAAmB,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport values from \"./data/azure-openai-responses.json\" with { type: \"json\" };\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nexport const AZURE_OPENAI_RESPONSES_MODELS: ModelCatalog<typeof values, \"azure-openai-responses\"> =\n\tflattenModelCatalog(\"azure-openai-responses\", values);\n"]}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
id: "gemma-4-31b";
|
|
5
|
-
provider: "cerebras";
|
|
6
|
-
};
|
|
7
|
-
"gpt-oss-120b": Model<"openai-completions"> & {
|
|
8
|
-
id: "gpt-oss-120b";
|
|
9
|
-
provider: "cerebras";
|
|
10
|
-
};
|
|
11
|
-
"zai-glm-4.7": Model<"openai-completions"> & {
|
|
12
|
-
id: "zai-glm-4.7";
|
|
13
|
-
provider: "cerebras";
|
|
14
|
-
};
|
|
15
|
-
};
|
|
1
|
+
import values from "./data/cerebras.json";
|
|
2
|
+
import { type ModelCatalog } from "../model-catalog.ts";
|
|
3
|
+
export declare const CEREBRAS_MODELS: ModelCatalog<typeof values, "cerebras">;
|
|
16
4
|
//# sourceMappingURL=cerebras.models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cerebras.models.d.ts","sourceRoot":"","sources":["../../src/providers/cerebras.models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cerebras.models.d.ts","sourceRoot":"","sources":["../../src/providers/cerebras.models.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,MAAM,sBAAsB,CAAuB;AAChE,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE7E,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,OAAO,MAAM,EAAE,UAAU,CAC5B,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport values from \"./data/cerebras.json\" with { type: \"json\" };\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nexport const CEREBRAS_MODELS: ModelCatalog<typeof values, \"cerebras\"> =\n\tflattenModelCatalog(\"cerebras\", values);\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-models.ts
|
|
2
2
|
// Do not edit manually - run 'npm run generate-models' to update
|
|
3
3
|
import values from "./data/cerebras.json" with { type: "json" };
|
|
4
|
-
|
|
4
|
+
import { flattenModelCatalog } from "../model-catalog.js";
|
|
5
|
+
export const CEREBRAS_MODELS = flattenModelCatalog("cerebras", values);
|
|
5
6
|
//# sourceMappingURL=cerebras.models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cerebras.models.js","sourceRoot":"","sources":["../../src/providers/cerebras.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAEjE,OAAO,MAAM,MAAM,sBAAsB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"cerebras.models.js","sourceRoot":"","sources":["../../src/providers/cerebras.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAEjE,OAAO,MAAM,MAAM,sBAAsB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,qBAAqB,CAAC;AAE7E,MAAM,CAAC,MAAM,eAAe,GAC3B,mBAAmB,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport values from \"./data/cerebras.json\" with { type: \"json\" };\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nexport const CEREBRAS_MODELS: ModelCatalog<typeof values, \"cerebras\"> =\n\tflattenModelCatalog(\"cerebras\", values);\n"]}
|
|
@@ -1,172 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
id: "claude-3-5-haiku";
|
|
5
|
-
provider: "cloudflare-ai-gateway";
|
|
6
|
-
};
|
|
7
|
-
"claude-3-haiku": Model<"anthropic-messages"> & {
|
|
8
|
-
id: "claude-3-haiku";
|
|
9
|
-
provider: "cloudflare-ai-gateway";
|
|
10
|
-
};
|
|
11
|
-
"claude-3-opus": Model<"anthropic-messages"> & {
|
|
12
|
-
id: "claude-3-opus";
|
|
13
|
-
provider: "cloudflare-ai-gateway";
|
|
14
|
-
};
|
|
15
|
-
"claude-3-sonnet": Model<"anthropic-messages"> & {
|
|
16
|
-
id: "claude-3-sonnet";
|
|
17
|
-
provider: "cloudflare-ai-gateway";
|
|
18
|
-
};
|
|
19
|
-
"claude-3.5-haiku": Model<"anthropic-messages"> & {
|
|
20
|
-
id: "claude-3.5-haiku";
|
|
21
|
-
provider: "cloudflare-ai-gateway";
|
|
22
|
-
};
|
|
23
|
-
"claude-3.5-sonnet": Model<"anthropic-messages"> & {
|
|
24
|
-
id: "claude-3.5-sonnet";
|
|
25
|
-
provider: "cloudflare-ai-gateway";
|
|
26
|
-
};
|
|
27
|
-
"claude-fable-5": Model<"anthropic-messages"> & {
|
|
28
|
-
id: "claude-fable-5";
|
|
29
|
-
provider: "cloudflare-ai-gateway";
|
|
30
|
-
};
|
|
31
|
-
"claude-haiku-4-5": Model<"anthropic-messages"> & {
|
|
32
|
-
id: "claude-haiku-4-5";
|
|
33
|
-
provider: "cloudflare-ai-gateway";
|
|
34
|
-
};
|
|
35
|
-
"claude-opus-4": Model<"anthropic-messages"> & {
|
|
36
|
-
id: "claude-opus-4";
|
|
37
|
-
provider: "cloudflare-ai-gateway";
|
|
38
|
-
};
|
|
39
|
-
"claude-opus-4-1": Model<"anthropic-messages"> & {
|
|
40
|
-
id: "claude-opus-4-1";
|
|
41
|
-
provider: "cloudflare-ai-gateway";
|
|
42
|
-
};
|
|
43
|
-
"claude-opus-4-5": Model<"anthropic-messages"> & {
|
|
44
|
-
id: "claude-opus-4-5";
|
|
45
|
-
provider: "cloudflare-ai-gateway";
|
|
46
|
-
};
|
|
47
|
-
"claude-opus-4-6": Model<"anthropic-messages"> & {
|
|
48
|
-
id: "claude-opus-4-6";
|
|
49
|
-
provider: "cloudflare-ai-gateway";
|
|
50
|
-
};
|
|
51
|
-
"claude-opus-4-7": Model<"anthropic-messages"> & {
|
|
52
|
-
id: "claude-opus-4-7";
|
|
53
|
-
provider: "cloudflare-ai-gateway";
|
|
54
|
-
};
|
|
55
|
-
"claude-opus-4-8": Model<"anthropic-messages"> & {
|
|
56
|
-
id: "claude-opus-4-8";
|
|
57
|
-
provider: "cloudflare-ai-gateway";
|
|
58
|
-
};
|
|
59
|
-
"claude-sonnet-4": Model<"anthropic-messages"> & {
|
|
60
|
-
id: "claude-sonnet-4";
|
|
61
|
-
provider: "cloudflare-ai-gateway";
|
|
62
|
-
};
|
|
63
|
-
"claude-sonnet-4-5": Model<"anthropic-messages"> & {
|
|
64
|
-
id: "claude-sonnet-4-5";
|
|
65
|
-
provider: "cloudflare-ai-gateway";
|
|
66
|
-
};
|
|
67
|
-
"claude-sonnet-4-6": Model<"anthropic-messages"> & {
|
|
68
|
-
id: "claude-sonnet-4-6";
|
|
69
|
-
provider: "cloudflare-ai-gateway";
|
|
70
|
-
};
|
|
71
|
-
"claude-sonnet-5": Model<"anthropic-messages"> & {
|
|
72
|
-
id: "claude-sonnet-5";
|
|
73
|
-
provider: "cloudflare-ai-gateway";
|
|
74
|
-
};
|
|
75
|
-
"gpt-4": Model<"openai-responses"> & {
|
|
76
|
-
id: "gpt-4";
|
|
77
|
-
provider: "cloudflare-ai-gateway";
|
|
78
|
-
};
|
|
79
|
-
"gpt-4-turbo": Model<"openai-responses"> & {
|
|
80
|
-
id: "gpt-4-turbo";
|
|
81
|
-
provider: "cloudflare-ai-gateway";
|
|
82
|
-
};
|
|
83
|
-
"gpt-4o": Model<"openai-responses"> & {
|
|
84
|
-
id: "gpt-4o";
|
|
85
|
-
provider: "cloudflare-ai-gateway";
|
|
86
|
-
};
|
|
87
|
-
"gpt-4o-mini": Model<"openai-responses"> & {
|
|
88
|
-
id: "gpt-4o-mini";
|
|
89
|
-
provider: "cloudflare-ai-gateway";
|
|
90
|
-
};
|
|
91
|
-
"gpt-5.1": Model<"openai-responses"> & {
|
|
92
|
-
id: "gpt-5.1";
|
|
93
|
-
provider: "cloudflare-ai-gateway";
|
|
94
|
-
};
|
|
95
|
-
"gpt-5.1-codex": Model<"openai-responses"> & {
|
|
96
|
-
id: "gpt-5.1-codex";
|
|
97
|
-
provider: "cloudflare-ai-gateway";
|
|
98
|
-
};
|
|
99
|
-
"gpt-5.2": Model<"openai-responses"> & {
|
|
100
|
-
id: "gpt-5.2";
|
|
101
|
-
provider: "cloudflare-ai-gateway";
|
|
102
|
-
};
|
|
103
|
-
"gpt-5.2-codex": Model<"openai-responses"> & {
|
|
104
|
-
id: "gpt-5.2-codex";
|
|
105
|
-
provider: "cloudflare-ai-gateway";
|
|
106
|
-
};
|
|
107
|
-
"gpt-5.3-codex": Model<"openai-responses"> & {
|
|
108
|
-
id: "gpt-5.3-codex";
|
|
109
|
-
provider: "cloudflare-ai-gateway";
|
|
110
|
-
};
|
|
111
|
-
"gpt-5.4": Model<"openai-responses"> & {
|
|
112
|
-
id: "gpt-5.4";
|
|
113
|
-
provider: "cloudflare-ai-gateway";
|
|
114
|
-
};
|
|
115
|
-
"gpt-5.5": Model<"openai-responses"> & {
|
|
116
|
-
id: "gpt-5.5";
|
|
117
|
-
provider: "cloudflare-ai-gateway";
|
|
118
|
-
};
|
|
119
|
-
"gpt-5.6-luna": Model<"openai-responses"> & {
|
|
120
|
-
id: "gpt-5.6-luna";
|
|
121
|
-
provider: "cloudflare-ai-gateway";
|
|
122
|
-
};
|
|
123
|
-
"gpt-5.6-sol": Model<"openai-responses"> & {
|
|
124
|
-
id: "gpt-5.6-sol";
|
|
125
|
-
provider: "cloudflare-ai-gateway";
|
|
126
|
-
};
|
|
127
|
-
"gpt-5.6-terra": Model<"openai-responses"> & {
|
|
128
|
-
id: "gpt-5.6-terra";
|
|
129
|
-
provider: "cloudflare-ai-gateway";
|
|
130
|
-
};
|
|
131
|
-
o1: Model<"openai-responses"> & {
|
|
132
|
-
id: "o1";
|
|
133
|
-
provider: "cloudflare-ai-gateway";
|
|
134
|
-
};
|
|
135
|
-
o3: Model<"openai-responses"> & {
|
|
136
|
-
id: "o3";
|
|
137
|
-
provider: "cloudflare-ai-gateway";
|
|
138
|
-
};
|
|
139
|
-
"o3-mini": Model<"openai-responses"> & {
|
|
140
|
-
id: "o3-mini";
|
|
141
|
-
provider: "cloudflare-ai-gateway";
|
|
142
|
-
};
|
|
143
|
-
"o3-pro": Model<"openai-responses"> & {
|
|
144
|
-
id: "o3-pro";
|
|
145
|
-
provider: "cloudflare-ai-gateway";
|
|
146
|
-
};
|
|
147
|
-
"o4-mini": Model<"openai-responses"> & {
|
|
148
|
-
id: "o4-mini";
|
|
149
|
-
provider: "cloudflare-ai-gateway";
|
|
150
|
-
};
|
|
151
|
-
"workers-ai/@cf/moonshotai/kimi-k2.5": Model<"openai-completions"> & {
|
|
152
|
-
id: "workers-ai/@cf/moonshotai/kimi-k2.5";
|
|
153
|
-
provider: "cloudflare-ai-gateway";
|
|
154
|
-
};
|
|
155
|
-
"workers-ai/@cf/moonshotai/kimi-k2.6": Model<"openai-completions"> & {
|
|
156
|
-
id: "workers-ai/@cf/moonshotai/kimi-k2.6";
|
|
157
|
-
provider: "cloudflare-ai-gateway";
|
|
158
|
-
};
|
|
159
|
-
"workers-ai/@cf/nvidia/nemotron-3-120b-a12b": Model<"openai-completions"> & {
|
|
160
|
-
id: "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
|
|
161
|
-
provider: "cloudflare-ai-gateway";
|
|
162
|
-
};
|
|
163
|
-
"workers-ai/@cf/zai-org/glm-4.7-flash": Model<"openai-completions"> & {
|
|
164
|
-
id: "workers-ai/@cf/zai-org/glm-4.7-flash";
|
|
165
|
-
provider: "cloudflare-ai-gateway";
|
|
166
|
-
};
|
|
167
|
-
"workers-ai/@cf/zai-org/glm-5.2": Model<"openai-completions"> & {
|
|
168
|
-
id: "workers-ai/@cf/zai-org/glm-5.2";
|
|
169
|
-
provider: "cloudflare-ai-gateway";
|
|
170
|
-
};
|
|
171
|
-
};
|
|
1
|
+
import values from "./data/cloudflare-ai-gateway.json";
|
|
2
|
+
import { type ModelCatalog } from "../model-catalog.ts";
|
|
3
|
+
export declare const CLOUDFLARE_AI_GATEWAY_MODELS: ModelCatalog<typeof values, "cloudflare-ai-gateway">;
|
|
172
4
|
//# sourceMappingURL=cloudflare-ai-gateway.models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudflare-ai-gateway.models.d.ts","sourceRoot":"","sources":["../../src/providers/cloudflare-ai-gateway.models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cloudflare-ai-gateway.models.d.ts","sourceRoot":"","sources":["../../src/providers/cloudflare-ai-gateway.models.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,MAAM,mCAAmC,CAAuB;AAC7E,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE7E,eAAO,MAAM,4BAA4B,EAAE,YAAY,CAAC,OAAO,MAAM,EAAE,uBAAuB,CACzC,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport values from \"./data/cloudflare-ai-gateway.json\" with { type: \"json\" };\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nexport const CLOUDFLARE_AI_GATEWAY_MODELS: ModelCatalog<typeof values, \"cloudflare-ai-gateway\"> =\n\tflattenModelCatalog(\"cloudflare-ai-gateway\", values);\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-models.ts
|
|
2
2
|
// Do not edit manually - run 'npm run generate-models' to update
|
|
3
3
|
import values from "./data/cloudflare-ai-gateway.json" with { type: "json" };
|
|
4
|
-
|
|
4
|
+
import { flattenModelCatalog } from "../model-catalog.js";
|
|
5
|
+
export const CLOUDFLARE_AI_GATEWAY_MODELS = flattenModelCatalog("cloudflare-ai-gateway", values);
|
|
5
6
|
//# sourceMappingURL=cloudflare-ai-gateway.models.js.map
|