forked from Manuel/meeting-assistant
fix: use Responses client options after Agent Framework update
This commit is contained in:
@@ -7,7 +7,6 @@ using System.Text.Json.Nodes;
|
|||||||
using Microsoft.Agents.AI.Compaction;
|
using Microsoft.Agents.AI.Compaction;
|
||||||
using Microsoft.Extensions.AI;
|
using Microsoft.Extensions.AI;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using OpenAI;
|
|
||||||
using OpenAI.Responses;
|
using OpenAI.Responses;
|
||||||
|
|
||||||
namespace MeetingAssistant.Summary;
|
namespace MeetingAssistant.Summary;
|
||||||
@@ -798,7 +797,7 @@ public sealed class LiteLlmResponsesChatClient : IChatClient
|
|||||||
string apiKey,
|
string apiKey,
|
||||||
AsyncLocal<string?> requestInitiator)
|
AsyncLocal<string?> requestInitiator)
|
||||||
{
|
{
|
||||||
var options = new OpenAIClientOptions
|
var options = new ResponsesClientOptions
|
||||||
{
|
{
|
||||||
Endpoint = httpClient.BaseAddress
|
Endpoint = httpClient.BaseAddress
|
||||||
?? throw new InvalidOperationException("LiteLLM HTTP client requires a base address."),
|
?? throw new InvalidOperationException("LiteLLM HTTP client requires a base address."),
|
||||||
|
|||||||
Reference in New Issue
Block a user