When exporting an agent with a conversation_id, the export function was setting agent_state.message_ids from the conversation, but from_agent_state was ignoring this and fetching messages generically via list_messages. Now from_agent_state checks if message_ids is set and fetches those specific messages instead. 👾 Generated with [Letta Code](https://letta.com) Co-authored-by: Letta <noreply@letta.com>
18 KiB
18 KiB