Set the conversation ID for the current agent invocation.
The conversation ID is used to group related agent invocations together,
enabling conversation-level tracing and monitoring in Fiddler’s platform.
This ID will persist until it is explicitly changed by calling this function
again with a new value.
Parameters
The Strands Agent instance to associate with the conversation
Unique identifier for the conversation (e.g., session ID, user ID)
Example
from strands import Agent
from fiddler_strandsagents import set_conversation_id
agent = Agent(model=model, system_prompt="...")
set_conversation_id(agent, "session_12345")