Skip to content

Fix/crypto refresh user agent - #252

Merged
asiniscalchi merged 5 commits into
mainfrom
fix/crypto-refresh-user-agent
May 25, 2026
Merged

Fix/crypto refresh user agent#252
asiniscalchi merged 5 commits into
mainfrom
fix/crypto-refresh-user-agent

Conversation

@asiniscalchi

Copy link
Copy Markdown
Owner

No description provided.

The server used rmcp's default stateful_mode, keeping every session in
LocalSessionManager's RAM. Any restart of the backend invalidated
existing session IDs; clients that did not renegotiate initialize —
observed with Gemini CLI — kept reusing the stale ID and received 404
Not Found indefinitely.

PortfolioServer only exposes request/response tools and does not rely
on server-initiated SSE streams, so stateless mode covers the full
surface while making each request self-contained and immune to session
loss across restarts.
@asiniscalchi
asiniscalchi merged commit 023ba4b into main May 25, 2026
4 checks passed
@asiniscalchi
asiniscalchi deleted the fix/crypto-refresh-user-agent branch May 25, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant