graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
feat(providers): add Kilo, Groq, Mistral
LoneRifle6eabb5bc2aeb
diff --git a/src/provider.zig b/src/provider.zigindex a24ad895..a0907e8b 100644--- a/src/provider.zig+++ b/src/provider.zig@@ -61,6 +61,9 @@ pub const provider_specs = [_]ProviderSpec{.{ .id = "openai", .display_name = "OpenAI", .kind = .openai, .auth = .bearer, .url = "https://api.openai.com/v1/chat/completions", .env_key = "OPENAI_API_KEY", .default_model = "gpt-5.6" },.{ .id = "minimax", .display_name = "MiniMax", .kind = .anthropic, .auth = .bearer, .url = "https://api.minimax.io/anthropic/v1/messages", .env_key = "MINIMAX_API_KEY", .default_model = "MiniMax-M3" },.{ .id = "xiaomi", .display_name = "Xiaomi", .kind = .openai, .auth = .bearer, .url = "https://api.xiaomimimo.com/v1/chat/completions", .env_key = "XIAOMI_API_KEY", .default_model = "mimo-v2.5-pro" },+ .{ .id = "kilo", .display_name = "Kilo Gateway", .kind = .openai, .auth = .bearer, .url = "https://api.kilo.ai/api/gateway/v1/chat/completions", .env_key = "KILO_API_KEY", .default_model = "kilo-auto/small" },+ .{ .id = "groq", .display_name = "Groq", .kind = .openai, .auth = .bearer, .url = "https://api.groq.com/openai/v1/chat/completions", .env_key = "GROQ_API_KEY", .default_model = "openai/gpt-oss-120b" },+ .{ .id = "mistral", .display_name = "Mistral", .kind = .openai, .auth = .bearer, .url = "https://api.mistral.ai/v1", .env_key = "MISTRAL_API_KEY", .default_model = "mistral-medium-latest" },// Kimi Code publishes the protocol per model. Missing/`kimi` is the native// chat-completions wire; a live `protocol: anthropic` row is switched in// Keys.build to the beta Messages endpoint + x-api-key, matching kimi-code.