<https://github.com/All-Hands-AI/agent-sdk/pull/74...
# proj-sdk
q
https://github.com/All-Hands-AI/agent-sdk/pull/741 - allow passing conversation id to agent server cc @straight-sundown-84319 @chilly-france-44439
c
q
Gotcha it seemed like there wasn't a need for it before I want this convenience for the experiment manager because I need to do preprocessing for a conversation and save metadata before its created Right now it looks like
Copy code
1. pre-process conversation params
2. create conversation to get conversation id
3. save metadata about pre-processing with conversation id
whereas its a simpler pattern to
Copy code
1. create conversation uuid
2. pre-process conversation and save metadata
3. create conversation for the same uuid
This isolates the experiment manager code to one step, and ensures we don't forget to save any pre-processing metadata
^ same for solvability analysis i'd rather pass around a conversation_id as opposed to passing around the solvability analysis metadata until we've received the conversation_id from agent server
c
In that case, i think we should just add checks/asserts to make sure the conversation_id doesn't exists (i.e., tim's security concern), otherwise i think this sounds good
q
i believe tim already has code to check for conversation_id collision on the app server rather than agent server? (we consider agent server untrustworthy)
Ah but we pre-process so we'd need to check this earlier thonk
c
yeah i mean it will probably safer to check it in agent-server side too
just make sure when we start, we don't override an existing convo
👍 1
(though the probability is very low)