Skip to content

Commit 1d926a3

Browse files
committed
Update AiSpeechAssistantService.cs
1 parent 39db383 commit 1d926a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SmartTalk.Core/Services/AiSpeechAssistant/AiSpeechAssistantService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ private async Task SendSessionUpdateAsync(WebSocket openAiWebSocket, Domain.AISp
744744
modalities = new[] { "text", "audio" },
745745
temperature = 0.8,
746746
input_audio_transcription = new { model = "whisper-1" },
747-
tools = configs.Where(x => x.Type == AiSpeechAssistantSessionConfigType.Tool)
747+
tools = configs.Where(x => x.Type == AiSpeechAssistantSessionConfigType.Tool).Select(x => x.Config)
748748
}
749749
};
750750

0 commit comments

Comments
 (0)