mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-19 05:05:55 +08:00
hotfix tools empty array
This commit is contained in:
parent
f32dd69acf
commit
7c0acc7b77
@ -277,7 +277,7 @@ export function stream(
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
...requestPayload,
|
...requestPayload,
|
||||||
tools,
|
tools: tools && tools.length ? tools : undefined,
|
||||||
}),
|
}),
|
||||||
signal: controller.signal,
|
signal: controller.signal,
|
||||||
headers,
|
headers,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user