Skip to content

[codex] add xAI model constants#20

Merged
writeameer merged 1 commit into
mainfrom
codex/xai-model-constants
May 26, 2026
Merged

[codex] add xAI model constants#20
writeameer merged 1 commit into
mainfrom
codex/xai-model-constants

Conversation

@writeameer
Copy link
Copy Markdown
Contributor

Summary

  • add a typed xai.Model with exported model constants
  • update the xAI provider constructor to accept the typed model
  • switch README and examples to use the constants

Validation

  • GOCACHE=/private/tmp/forge-go-cache go test ./...

Notes

  • custom model IDs remain possible with xai.Model("future-model")

@writeameer writeameer marked this pull request as ready for review May 26, 2026 17:28
@writeameer writeameer merged commit 3a33283 into main May 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant