-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Open
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Description
Feature hasn't been suggested before.
- 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.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion