mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Update to latest MEAI 10.0.1 and OpenAI 2.7.0 (#2392)
This commit is contained in:
committed by
GitHub
Unverified
parent
b66efcc09d
commit
a116edaf5a
@@ -42,7 +42,7 @@ public static class AgentRunResponseExtensions
|
||||
RawRepresentation = response,
|
||||
ResponseId = response.ResponseId,
|
||||
Usage = response.Usage,
|
||||
ContinuationToken = response.ContinuationToken,
|
||||
ContinuationToken = response.ContinuationToken as ResponseContinuationToken,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ public static class AgentRunResponseExtensions
|
||||
RawRepresentation = responseUpdate,
|
||||
ResponseId = responseUpdate.ResponseId,
|
||||
Role = responseUpdate.Role,
|
||||
ContinuationToken = responseUpdate.ContinuationToken,
|
||||
ContinuationToken = responseUpdate.ContinuationToken as ResponseContinuationToken,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -551,7 +551,7 @@ public sealed partial class ChatClientAgent : AIAgent
|
||||
{
|
||||
chatOptions ??= new ChatOptions();
|
||||
chatOptions.AllowBackgroundResponses = agentRunOptions.AllowBackgroundResponses;
|
||||
chatOptions.ContinuationToken = agentRunOptions.ContinuationToken;
|
||||
chatOptions.ContinuationToken = agentRunOptions.ContinuationToken as ResponseContinuationToken;
|
||||
}
|
||||
|
||||
return chatOptions;
|
||||
|
||||
Reference in New Issue
Block a user