Skip to content

feat: integrate xAI adapter#70

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
lucianchen:codex/ai-xai-openai-compatible
May 13, 2026
Merged

feat: integrate xAI adapter#70
ralyodio merged 1 commit into
profullstack:masterfrom
lucianchen:codex/ai-xai-openai-compatible

Conversation

@lucianchen
Copy link
Copy Markdown

Summary

  • replace the xAI stub with an OpenAI-compatible chat completions request
  • add the requested xAI model list
  • support dry-run short-circuiting, usage token mapping, and status/body excerpts on provider errors

Verification

  • pnpm exec vitest run packages/ai/xai/src/index.test.ts
  • pnpm --filter @profullstack/sh1pt-ai-xai typecheck
  • git diff --check

Part of #63.

@ralyodio ralyodio merged commit e8509c6 into profullstack:master May 13, 2026
7 of 8 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.

2 participants