You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
The official mistral-vibe CLI uses the x-affinity header to track and continue sessions. This seems to be similar to promptCaching in the OpenAI provider for example.
The session_id passed to x-affinity is a UUID4, the session id used or promptCaching in OpenCode is a based on a timestamp, so maybe it's not compatible out of the box, but worth a try.
Feature hasn't been suggested before.
Describe the enhancement you want to request
The official mistral-vibe CLI uses the x-affinity header to track and continue sessions. This seems to be similar to promptCaching in the OpenAI provider for example.
The session_id passed to x-affinity is a UUID4, the session id used or promptCaching in OpenCode is a based on a timestamp, so maybe it's not compatible out of the box, but worth a try.
Here is some evidence:
https://github.com/mistralai/mistral-vibe/blob/9809cfc8315049b6f02b1865306903d92428919f/vibe/core/agent_loop.py#L587
https://github.com/mistralai/mistral-vibe/blob/9809cfc8315049b6f02b1865306903d92428919f/vibe/core/agent_loop.py#L156
https://github.com/mistralai/mistral-vibe/blob/9809cfc8315049b6f02b1865306903d92428919f/vibe/cli/textual_ui/app.py#L1242