Add Grok 4.6 and tighten subagent guidance - #1331
Open
mgaruccio wants to merge 2 commits into
Open
Conversation
Register grok-4.6 on the Responses API with the same reasoning map, image input, and published pricing as the local Pi models.json entry.
Keep context-heavy exploration in child agents and require brief, evidence-based returns instead of loading raw material into the parent loop.
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.
Summary
xai/grok-4.6to the built-in catalog on the Responses API, matching xAI's published model id, 500k context, image input, andlow/medium/high/xhighreasoning (reasoning cannot be disabled).Test plan
cd packages/ai && npx tsx ../../node_modules/vitest/dist/cli.js --run test/xai-models.test.tscd packages/coding-agent && npx tsx ../../node_modules/vitest/dist/cli.js --run test/system-prompt.test.ts./prime-agent.sh model list grok-4.6listsxai grok-4.6 500K 500K yes yesNote
Add xAI Grok 4.6 model and tighten subagent prompt guidance
grok-4.6to the xAI model catalog via the OpenAI Responses API with image input, reasoning enabled,xhighthinking level support, 500k context/token limits, and pricing of $2/$6 per million input/output tokens.Macroscope summarized 1a1dbd3.