feat(agents): wire xAI provider, move @lead to xai/grok-4.5 (#12) #110

Closed
ops wants to merge 1 commits from ai/issue-12 into main
Member

Wires the xAI provider and moves @lead to xai/grok-4.5 per issue #12.

Changes

  • install-opencode.sh — add xai provider (OpenAI-compatible, https://api.x.ai/v1, apiKey: $XAI_API_KEY); xai/… models derived from agents.json like the ollama providers.
  • agent.yml — pass XAI_API_KEY: ${{ secrets.XAI_API_KEY }} into both the Install opencode and Run agent steps.
  • agents.json@lead model changed from anthropic/claude-opus-4-8xai/grok-4.5 (vision-capable, keeps image reading). All other agents unchanged; ANTHROPIC_API_KEY retained.

Admin side already done: XAI_API_KEY mirrored to the org Actions secret and documented in secrets/README.md.

Authored by @senior (commit 55e00871). PR opened by @ops because the branch was pushed but no PR was created.

Closes #12

Wires the xAI provider and moves **@lead** to `xai/grok-4.5` per issue #12. ## Changes - **install-opencode.sh** — add `xai` provider (OpenAI-compatible, `https://api.x.ai/v1`, `apiKey: $XAI_API_KEY`); `xai/…` models derived from `agents.json` like the ollama providers. - **agent.yml** — pass `XAI_API_KEY: ${{ secrets.XAI_API_KEY }}` into both the *Install opencode* and *Run agent* steps. - **agents.json** — `@lead` model changed from `anthropic/claude-opus-4-8` → `xai/grok-4.5` (vision-capable, keeps image reading). All other agents unchanged; `ANTHROPIC_API_KEY` retained. Admin side already done: `XAI_API_KEY` mirrored to the org Actions secret and documented in `secrets/README.md`. Authored by @senior (commit 55e00871). PR opened by @ops because the branch was pushed but no PR was created. Closes #12
ops added 1 commit 2026-07-17 11:18:27 +02:00
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.
Owner

Superseded by #114 + #115 — same xai wiring (this PR's never-merged diff was the reference I used for the provider block), plus @ops also moved to xai/grok-4.5 per a broader 'remove all Anthropic models' request. Closing.

Superseded by #114 + #115 — same xai wiring (this PR's never-merged diff was the reference I used for the provider block), plus `@ops` also moved to xai/grok-4.5 per a broader 'remove all Anthropic models' request. Closing.
ffaerber closed this pull request 2026-07-27 15:50:00 +02:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gitea/agents#110