Skip to content

merge grok support#14

Merged
jgarzik merged 7 commits intomainfrom
updates
Feb 8, 2026
Merged

merge grok support#14
jgarzik merged 7 commits intomainfrom
updates

Conversation

@jgarzik
Copy link
Owner

@jgarzik jgarzik commented Feb 8, 2026

No description provided.

kaleho and others added 4 commits February 6, 2026 13:24
Add Grok (xAI) as a supported AI provider in BotMaker dashboard and keyring-proxy.

Changes:
- Add Grok provider config with 6 models (grok-4, grok-4-heavy, grok-4-1-fast, grok-4-1-fast-reasoning, grok-3, grok-3-mini)
- Register Grok in provider list alongside existing providers
- Add Grok vendor config to keyring-proxy with OpenAI-compatible API endpoint

Grok API:
- Base URL: https://api.x.ai/v1
- Auth: Bearer token (OpenAI-compatible)
- Default model: grok-4-1-fast (optimized for agentic workflows)

Tested with grok-4-1-fast-reasoning model via keyring-proxy zero-trust architecture.
…/botmaker into updates

# Conflicts:
#	dashboard/src/config/providers/index.ts
Add keyHint 'xai-...' to grok provider config and create test suites
for both dashboard provider configs and proxy vendor configs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Grok (xAI) as a selectable AI provider across the proxy vendor map and the dashboard provider configuration, along with new unit tests to validate the added config.

Changes:

  • Add grok to the proxy’s VENDOR_CONFIGS (host/basePath/auth settings).
  • Add a new dashboard provider definition for grok and include it in the exported provider list.
  • Add Vitest coverage for the new Grok config (proxy + dashboard).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
proxy/src/types.ts Adds grok vendor routing/auth configuration for the proxy.
proxy/src/types.test.ts Adds unit tests asserting Grok vendor config presence/shape.
dashboard/src/config/providers/index.ts Registers grok in the dashboard’s PROVIDERS list.
dashboard/src/config/providers/grok.ts Introduces Grok provider metadata (label/baseUrl/models/defaultModel).
dashboard/src/config/providers/providers.test.ts Adds unit tests asserting Grok provider behavior via helper functions.
notes.md Deletes a repository notes file (unrelated to Grok support).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jgarzik and others added 3 commits February 8, 2026 02:01
…ests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
xAI's API is OpenAI chat completions compatible, not Responses API.
Without this mapping, grok bots would use the wrong endpoint (/v1/responses).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jgarzik jgarzik merged commit 2b89309 into main Feb 8, 2026
3 checks passed
@jgarzik jgarzik deleted the updates branch February 8, 2026 02:08
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.

3 participants