PRODUCTION SCENARIO
A Generative AI Engineer builds a finance assistant that calls a Genie Agent through its API. A user asks "Total revenue by region for Q2" and then "Now just the Northeast," and the second call fails because the agent has no record of what "now" refers to.
How should the assistant send the follow-up request?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: Pass the conversation ID from the first response with the new request
The API continues a thread on conversation_id: omit it to start a conversation, provide it to continue an existing one. A message ID identifies a single turn within a conversation and does not by itself carry the thread forward, so passing it in place of the conversation ID still starts fresh. Re-sending the prior SQL as a comment duplicates state Genie already tracks, and a new agent per session begins with no history, so "now" still cannot resolve.