feat(agents): wire xAI provider, move @lead to xai/grok-4.5 (issue #12)
ci / lint (pull_request) Successful in 15s
ci / lint (pull_request) Successful in 15s
Add an xai provider (OpenAI-compatible, https://api.x.ai/v1) to install-opencode.sh, with its models map derived from agents.json exactly like the ollama providers. Pass XAI_API_KEY into both the Install-opencode and Run-agent steps of agent.yml. Switch @lead's model from anthropic/claude-opus-4-8 to xai/grok-4.5 (vision-capable, so @lead keeps image reading). All other agents unchanged; ANTHROPIC_API_KEY is retained for @ops and not removed.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
"desc": "Senior dev — complex, multi-file implementation (GLM-5.2 via Ollama Cloud, text-only)."
|
||||
},
|
||||
"lead": {
|
||||
"model": "anthropic/claude-opus-4-8",
|
||||
"model": "xai/grok-4.5",
|
||||
"vision": true,
|
||||
"mode": "pr",
|
||||
"skills": [
|
||||
|
||||
Reference in New Issue
Block a user