Sessions
Sessions allow Florentine.ai to enable a server-side chat history.
Since the client/agent including the MCP server usually keeps track of the chat history itself it is not absolutely essential to add a session.
However it might still help Florentine.ai to get a better understanding of the context and might increase result quality.
Providing a session
You have two options to include a sessionId:
- As the
SESSION_IDenvvariable in your MCP setup config (possible instaticanddynamicmode) - As the
sessionIdparameter to theflorentine_asktool (possible only indynamicmode)
Provide as ENV variable
json
"env": {
"SESSION_ID": "<YOUR_SESSION_ID>"
}Provide as tool parameter
json
{
"sessionId": "<YOUR_SESSION_ID>"
}