mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: gemini empty text
This commit is contained in:
parent
d656313811
commit
f9a6fafb9e
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ export class CustomGoogleGeminiClient extends GoogleGeminiClient {
|
|||
}
|
||||
: {
|
||||
role: 'user',
|
||||
parts: [{ text }],
|
||||
parts: text ? [{ text }] : [],
|
||||
id: idThis,
|
||||
parentMessageId: opt.parentMessageId || undefined
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue