mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 11:00:55 +03:00
Feat/add thinking budget to gemini (#5395)
add thinking budget to gemini
This commit is contained in:
@@ -48,6 +48,8 @@ export function getMessageAuthor(message: BaseMessage) {
|
||||
}
|
||||
|
||||
/**
|
||||
* !!! IMPORANT: Must return 'user' as default instead of throwing error
|
||||
* https://github.com/FlowiseAI/Flowise/issues/4743
|
||||
* Maps a message type to a Google Generative AI chat author.
|
||||
* @param message The message to map.
|
||||
* @param model The model to use for mapping.
|
||||
|
||||
Reference in New Issue
Block a user