Conversation
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>
There was a problem hiding this comment.
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
grokto the proxy’sVENDOR_CONFIGS(host/basePath/auth settings). - Add a new dashboard provider definition for
grokand 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.
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.