Before submitting your bug report
Relevant environment info
Description
I have been getting familiar with llm's, mcp etc now even changing some code. I noticed that when the mcp is restarted continue is not re-establishing the session. I think it just wants to continue with the old session.
You should adapt the code that if communication fails you try and get a new session. Currently I have only been working on sse mcp's maybe the http streaming protocol does not have this disadvantage.
To reproduce
No response
Log output
Before submitting your bug report
Relevant environment info
Description
I have been getting familiar with llm's, mcp etc now even changing some code. I noticed that when the mcp is restarted continue is not re-establishing the session. I think it just wants to continue with the old session.
You should adapt the code that if communication fails you try and get a new session. Currently I have only been working on sse mcp's maybe the http streaming protocol does not have this disadvantage.
To reproduce
No response
Log output