Commit c0e2779
authored
chore: sync main — MiniMax provider, DeepSeek dual-protocol, API compliance (#35)
* feat: full API compliance for all LLM providers
Anthropic: all request fields, thinking+caching, count_tokens, org ID, 32MB limit
OpenAI: tool_choice, top_p, stop, service_tier, user, penalties, logprobs, etc.
Gemini: tool call IDs, safety settings, tool config, thinkingConfig, promptFeedback
Vertex: full Anthropic parity, correct publisher path, typed struct, guardrails
Features: zero hardcoded, catalog is single source of truth, no fallback
Registry: display names from official docs, continuous numbering 1-16
* feat: add MiniMax provider with dual-protocol fallback
- MiniMax Token Plan and Pay-as-you-go as separate providers
- OpenAI-compatible primary + Anthropic-compatible fallback
- Remove generic fallback keys for MiMo and MiniMax
- Uniform naming: token plan first, then payg
- 18 providers total
* fix: add missing deepseek.go for NewDeepSeekClient
* style: gofumpt + goimports formatting
* fix: align tests with updated testdata fixtures and lint warnings1 parent dce29ff commit c0e2779
45 files changed
Lines changed: 3252 additions & 542 deletions
File tree
- catalog
- discover
- live
- testdata
- opencodego
- registry
- client
- config
- setup
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
169 | 202 | | |
170 | 203 | | |
171 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments