refac/enh: forward headers to tool server
This commit is contained in:
1 parent
487979859a
commit
77b65ccbfb
5 files changed
+32
-14
No files matched your search
@@ -372,6 +372,7 @@ export const generateOpenAIChatCompletion = async (
|
||||
Authorization: `Bearer ${token}`,
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
credentials: 'include',
|
||||
body: JSON.stringify(body)
|
||||
})
|
||||
.then(async (res) => {
|
||||
|
||||
Reference in new issue
Block a user