mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Add ChatClientAgent constructor overload (#188)
* Add ChatClientAgent constructor overload * Add unit tests for new constructor * Up code coverage with extra tests * Address PR comments. * Address PR comment * Add additional test to increase code coverage.
This commit is contained in:
@@ -50,7 +50,7 @@ public class OpenAIChatCompletionFixture : IChatClientAgentFixture
|
||||
.GetChatClient(this._useReasoningModel ? s_config.ChatReasoningModelId : s_config.ChatModelId)
|
||||
.AsIChatClient();
|
||||
|
||||
return Task.FromResult(new ChatClientAgent(chatClient, new()
|
||||
return Task.FromResult(new ChatClientAgent(chatClient, options: new()
|
||||
{
|
||||
Name = name,
|
||||
Instructions = instructions,
|
||||
|
||||
Reference in New Issue
Block a user