-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsupported-providers.json
More file actions
157 lines (157 loc) · 4.35 KB
/
Copy pathsupported-providers.json
File metadata and controls
157 lines (157 loc) · 4.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"_comment": [
"The provider contract this action enforces, mirroring the LLM_PROVIDERS table of the",
"CodeBoarding release pinned in action.yml. tests/test_provider_table_drift.py installs",
"that release and fails if the two disagree, so bumping the pin without updating this",
"file cannot ship: a provider core added but this table lacks would otherwise be",
"unreachable, and one core removed would be accepted here and fail mid-analysis.",
"",
"Each key is the ONE value `llm:` accepts for that provider, and each provider's inputs",
"are named after it, so `llm: X` always pairs with `X_api_key`. There are no aliases:",
"a second spelling is a second thing to document, test and keep in step, and the error",
"message lists the accepted values anyway. Where core's internal name differs from the",
"one we ask people to type, `core` carries the translation and nothing else does.",
"",
"'selection_envs' is the load-bearing field. Core selects a provider when ANY of them",
"is set, so 'at least one is non-empty' is exactly what makes a provider usable -- this",
"action does not invent a stricter or looser rule of its own. An api-key env that is not",
"a selection env (AWS_DEFAULT_REGION, OLLAMA_API_KEY) therefore cannot select a provider",
"on its own, which is why ollama and litellm need their base URL and not just a key."
],
"engine": "0.13.11",
"hosted_provider": "openrouter",
"providers": {
"openrouter": {
"label": "OpenRouter",
"selection_envs": [
"OPENROUTER_API_KEY"
],
"inputs": {
"openrouter_api_key": "OPENROUTER_API_KEY"
}
},
"orcarouter": {
"label": "OrcaRouter",
"selection_envs": [
"ORCAROUTER_API_KEY"
],
"inputs": {
"orcarouter_api_key": "ORCAROUTER_API_KEY"
}
},
"anthropic": {
"label": "Anthropic",
"selection_envs": [
"ANTHROPIC_API_KEY"
],
"inputs": {
"anthropic_api_key": "ANTHROPIC_API_KEY"
}
},
"openai": {
"label": "OpenAI",
"selection_envs": [
"OPENAI_API_KEY",
"OPENAI_BASE_URL"
],
"inputs": {
"openai_api_key": "OPENAI_API_KEY",
"openai_base_url": "OPENAI_BASE_URL"
}
},
"google": {
"label": "Google Gemini",
"selection_envs": [
"GOOGLE_API_KEY"
],
"inputs": {
"google_api_key": "GOOGLE_API_KEY"
}
},
"vercel": {
"label": "Vercel AI Gateway",
"selection_envs": [
"VERCEL_API_KEY",
"VERCEL_BASE_URL"
],
"inputs": {
"vercel_api_key": "VERCEL_API_KEY",
"vercel_base_url": "VERCEL_BASE_URL"
}
},
"aws_bedrock": {
"core": "aws",
"label": "AWS Bedrock",
"selection_envs": [
"AWS_BEARER_TOKEN_BEDROCK"
],
"inputs": {
"aws_bedrock_api_key": "AWS_BEARER_TOKEN_BEDROCK",
"aws_bedrock_region": "AWS_DEFAULT_REGION"
}
},
"cerebras": {
"label": "Cerebras",
"selection_envs": [
"CEREBRAS_API_KEY"
],
"inputs": {
"cerebras_api_key": "CEREBRAS_API_KEY"
}
},
"deepseek": {
"label": "DeepSeek",
"selection_envs": [
"DEEPSEEK_API_KEY",
"DEEPSEEK_BASE_URL"
],
"inputs": {
"deepseek_api_key": "DEEPSEEK_API_KEY",
"deepseek_base_url": "DEEPSEEK_BASE_URL"
}
},
"glm": {
"label": "GLM",
"selection_envs": [
"GLM_API_KEY",
"GLM_BASE_URL"
],
"inputs": {
"glm_api_key": "GLM_API_KEY",
"glm_base_url": "GLM_BASE_URL"
}
},
"kimi": {
"label": "Kimi",
"selection_envs": [
"KIMI_API_KEY",
"KIMI_BASE_URL"
],
"inputs": {
"kimi_api_key": "KIMI_API_KEY",
"kimi_base_url": "KIMI_BASE_URL"
}
},
"ollama": {
"label": "Ollama",
"selection_envs": [
"OLLAMA_BASE_URL",
"OLLAMA_HOST"
],
"inputs": {
"ollama_api_key": "OLLAMA_API_KEY",
"ollama_base_url": "OLLAMA_BASE_URL"
}
},
"litellm": {
"label": "LiteLLM",
"selection_envs": [
"LITELLM_BASE_URL"
],
"inputs": {
"litellm_api_key": "LITELLM_API_KEY",
"litellm_base_url": "LITELLM_BASE_URL"
}
}
}
}