fix(talk): Talk interface sends content-type headers to chatgpt (#5200)

Talk interface sends content-type headers to chatgpt

Signed-off-by: baflo <834350+baflo@users.noreply.github.com>
This commit is contained in:
Florian Bachmann 2025-04-17 15:02:11 +02:00 committed by GitHub
parent e3717e5c1a
commit a03b70010f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,6 +115,7 @@ async function sendTextToChatGPT(text) {
const response = await fetch('v1/chat/completions', {
method: 'POST',
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
model: getModel(),
messages: conversationHistory