Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get the conversation ID for the current agent invocation.
from strands import Agent from strands.models.openai import OpenAIModel from fiddler_strandsagents import get_conversation_id, set_conversation_id model = OpenAIModel(api_key="...", model_id="gpt-4o") agent = Agent(model=model) set_conversation_id(agent, "session_12345") conversation_id = get_conversation_id(agent) print(conversation_id) # "session_12345"
Was this page helpful?