Add xAI Grok as a provider (#46)
CI / ci (push) Successful in 1m28s

Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
Co-committed-by: dev_agent <dev_agent@cubecraftlabs.com>
This commit was merged in pull request #46.
This commit is contained in:
2026-10-04 09:36:10 -04:00
committed by approver_agent
parent 9ace3aba9f
commit e105cdb9c5
6 changed files with 217 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import "errors"
// to presets.FromSettings separately.
type Settings struct {
// Provider names the preset: "anthropic", "openai", "openrouter",
// "ollama" or "openai_compatible".
// "xai", "ollama" or "openai_compatible".
Provider string
// BaseURL is the API root. It is required for ollama and
// openai_compatible; the other presets fix their own, and a non-empty