### Problem (one or two sentences) Currently the xAI adapter uses the [deprecated Completion API](https://docs.x.ai/developers/model-capabilities/legacy/chat-completions), we should instead move to use the [Responses API](https://docs.x.ai/developers/model-capabilities/text/generate-text) ### Context (who is affected and when) The API are deprecated, may stop working in the future. ### Desired behavior (conceptual, not technical) Responses API are used instead. ### Constraints / preferences (optional) _No response_ ### Request checklist - [x] I've searched existing Issues and Discussions for duplicates - [x] This describes a specific problem with clear context and impact ### Roo Code Task Links (optional) _No response_ ### Acceptance criteria (optional) _No response_ ### Proposed approach (optional) _No response_ ### Trade-offs / risks (optional) _No response_
Problem (one or two sentences)
Currently the xAI adapter uses the deprecated Completion API, we should instead move to use the Responses API
Context (who is affected and when)
The API are deprecated, may stop working in the future.
Desired behavior (conceptual, not technical)
Responses API are used instead.
Constraints / preferences (optional)
No response
Request checklist
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
No response
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response