langgraph_agent_toolkit.ui.components.side_panel module

Render the chat controls and settings sidebar.

langgraph_agent_toolkit.ui.components.side_panel.build_chat_url(base_url, agent, thread_id)[source][source]

Keep the app path and encode the public conversation identifiers.

Parameters:
  • base_url (str | None)

  • agent (str)

  • thread_id (str)

Return type:

str

langgraph_agent_toolkit.ui.components.side_panel.side_panel_component(agent_client)[source][source]

Render the sidebar and return use_streaming and stream_protocol.

Parameters:

agent_client (AgentClient)

Return type:

tuple[bool, str]