feat(catalog): replay xAI encrypted reasoning on later turns
Stop stripping type=reasoning history for xai and xai-oauth so encrypted_content from include is sent back on the next Responses request.
This commit is contained in:
@@ -241,8 +241,8 @@ Both the paid API-key provider (`xai` / `XAI_API_KEY`) and SuperGrok OAuth
|
||||
(`xai-oauth`) chat over `https://api.x.ai/v1/responses`. Keep these independent:
|
||||
|
||||
- omit `reasoning.effort`
|
||||
- include `reasoning.encrypted_content` (request `include`) vs replay history
|
||||
- filter reasoning-history wrappers
|
||||
- include `reasoning.encrypted_content` on the request
|
||||
- replay encrypted reasoning items on later turns
|
||||
|
||||
Some models reject only one of those fields; do not collapse them into one
|
||||
"Grok mode" branch.
|
||||
|
||||
Reference in New Issue
Block a user