mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-27 19:19:22 +08:00
Compare commits
1 Commits
v2.15.6
...
hotfix/gem
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f89872b833 |
@@ -192,7 +192,9 @@ export class GeminiProApi implements LLMApi {
|
|||||||
requestPayload,
|
requestPayload,
|
||||||
getHeaders(),
|
getHeaders(),
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
[{ functionDeclarations: tools.map((tool) => tool.function) }],
|
tools.length > 0
|
||||||
|
? [{ functionDeclarations: tools.map((tool) => tool.function) }]
|
||||||
|
: [],
|
||||||
funcs,
|
funcs,
|
||||||
controller,
|
controller,
|
||||||
// parseSSE
|
// parseSSE
|
||||||
|
|||||||
Reference in New Issue
Block a user