Skip to content

Commit 87d9b7b

Browse files
committed
chore: add openai compatible providers with code gen
1 parent 25118cc commit 87d9b7b

109 files changed

Lines changed: 10574 additions & 7 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.toml

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ keywords = ["ai", "sdk", "aisdk", "ai-sdk-rs", "openai"]
1515
categories = ["api-bindings", "asynchronous"]
1616

1717
[features]
18-
full = ["prompt", "openai", "openaicompatible", "openaichatcompletions", "anthropic", "groq", "vercel", "google", "openrouter", "deepseek", "amazon-bedrock", "togetherai", "xai", "mistral"]
18+
full = ["prompt", "openai", "openaicompatible", "openaichatcompletions", "anthropic", "groq", "vercel", "google", "openrouter", "deepseek", "amazon-bedrock", "togetherai", "xai", "mistral", "abacus", "aihubmix", "alibaba", "alibaba-cn", "bailing", "baseten", "chutes", "cloudflare-ai-gateway", "cortecs", "firmware", "fireworks-ai", "friendli", "fastrouter", "github-copilot", "github-models", "helicone", "huggingface", "iflowcn", "inception", "inference", "io-net", "llama", "lmstudio", "lucidquery", "moark", "modelscope", "moonshotai", "moonshotai-cn", "morph", "nano-gpt", "nebius", "nova", "novita-ai", "nvidia", "ollama-cloud", "opencode", "ovhcloud", "poe", "privatemode-ai", "requesty", "scaleway", "siliconflow", "siliconflow-cn", "submodel", "synthetic", "upstage", "vultr", "wandb", "xiaomi", "zai", "zai-coding-plan", "zenmux", "zhipuai", "zhipuai-coding-plan", "302ai"]
19+
test-access = []
20+
prompt = ["tera", "glob"]
21+
axum = ["dep:axum"]
1922
openai = []
20-
openaicompatible = ["openaichatcompletions"]
21-
openaichatcompletions = []
2223
anthropic = []
24+
google = []
25+
openaichatcompletions = []
26+
openaicompatible = ["openaichatcompletions"]
2327
groq = ["openaichatcompletions"]
2428
vercel = ["openaichatcompletions"]
2529
openrouter = ["openaichatcompletions"]
@@ -28,10 +32,61 @@ mistral = ["openaichatcompletions"]
2832
amazon-bedrock = ["openaichatcompletions"]
2933
togetherai = ["openaichatcompletions"]
3034
xai = ["openaichatcompletions"]
31-
google = []
32-
prompt = ["tera", "glob"]
33-
test-access = []
34-
axum = ["dep:axum"]
35+
abacus = ["openaichatcompletions"]
36+
aihubmix = ["openaichatcompletions"]
37+
alibaba = ["openaichatcompletions"]
38+
alibaba-cn = ["openaichatcompletions"]
39+
bailing = ["openaichatcompletions"]
40+
baseten = ["openaichatcompletions"]
41+
chutes = ["openaichatcompletions"]
42+
cloudflare-ai-gateway = ["openaichatcompletions"]
43+
cortecs = ["openaichatcompletions"]
44+
firmware = ["openaichatcompletions"]
45+
fireworks-ai = ["openaichatcompletions"]
46+
friendli = ["openaichatcompletions"]
47+
fastrouter = ["openaichatcompletions"]
48+
github-copilot = ["openaichatcompletions"]
49+
github-models = ["openaichatcompletions"]
50+
helicone = ["openaichatcompletions"]
51+
huggingface = ["openaichatcompletions"]
52+
iflowcn = ["openaichatcompletions"]
53+
inception = ["openaichatcompletions"]
54+
inference = ["openaichatcompletions"]
55+
io-net = ["openaichatcompletions"]
56+
llama = ["openaichatcompletions"]
57+
lmstudio = ["openaichatcompletions"]
58+
lucidquery = ["openaichatcompletions"]
59+
moark = ["openaichatcompletions"]
60+
modelscope = ["openaichatcompletions"]
61+
moonshotai = ["openaichatcompletions"]
62+
moonshotai-cn = ["openaichatcompletions"]
63+
morph = ["openaichatcompletions"]
64+
nano-gpt = ["openaichatcompletions"]
65+
nebius = ["openaichatcompletions"]
66+
nova = ["openaichatcompletions"]
67+
novita-ai = ["openaichatcompletions"]
68+
nvidia = ["openaichatcompletions"]
69+
ollama-cloud = ["openaichatcompletions"]
70+
opencode = ["openaichatcompletions"]
71+
ovhcloud = ["openaichatcompletions"]
72+
poe = ["openaichatcompletions"]
73+
privatemode-ai = ["openaichatcompletions"]
74+
requesty = ["openaichatcompletions"]
75+
scaleway = ["openaichatcompletions"]
76+
siliconflow = ["openaichatcompletions"]
77+
siliconflow-cn = ["openaichatcompletions"]
78+
submodel = ["openaichatcompletions"]
79+
synthetic = ["openaichatcompletions"]
80+
upstage = ["openaichatcompletions"]
81+
vultr = ["openaichatcompletions"]
82+
wandb = ["openaichatcompletions"]
83+
xiaomi = ["openaichatcompletions"]
84+
zai = ["openaichatcompletions"]
85+
zai-coding-plan = ["openaichatcompletions"]
86+
zenmux = ["openaichatcompletions"]
87+
zhipuai = ["openaichatcompletions"]
88+
zhipuai-coding-plan = ["openaichatcompletions"]
89+
302ai = ["openaichatcompletions"]
3590

3691
[dependencies]
3792
tera = { version = "1", optional = true }

0 commit comments

Comments
 (0)