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
{{ message }}
Repository navigation
Multiple message request to the same session get the same response #1895
I am not sure what the intention is for the API. I could make the argument that the agent would only manage one message at a time but the tui seems to handle multiple messages.
I can send the below at the same time. Which ever one responds first is the response to both calls.
curl --request POST http://127.0.0.1:4096/session/<some_session>/message -H "Content-Type: application/json" --data '{"providerID": "anthropic","modelID": "claude-sonnet-4-20250514","parts": [{"type":"text", "text":"Spell apple backwards?"}]}'
curl --request POST http://127.0.0.1:4096/session/<some_session>/message -H "Content-Type: application/json" --data '{"providerID": "anthropic","modelID": "claude-sonnet-4-20250514","parts": [{"type":"text", "text":"What is the hostname backwards?"}]}'
This response was particularly confusing. The response to both was both request answers merged.
Not sure if this should be flagged as a security concern but if a user was serving opencode and two user were sharing a session leaking a response from one to the other could be an issue. Probably not an ideal setup though.
Activity
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!