ConversationId how to use correctly? #6658
-
Hi,
See this transcript of a conversation I had:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The problem is this line: options.ConversationId ??= response.ConversationId; That should be more like: if (response.ConversationId is not null)
{
options.ConversationId = response.ConversationId;
} With responses, each response has its own unique ID, and you need to tell subsequent requests which conversation to continue. |
Beta Was this translation helpful? Give feedback.
The problem is this line:
That should be more like:
With responses, each response has its own unique ID, and you need to tell subsequent requests which conversation to continue.