Feat/add thinking budget to gemini (#5395)

add thinking budget to gemini
This commit is contained in:
Henry Heng
2025-10-30 22:01:15 +00:00
committed by GitHub
parent 97515989a2
commit f3d5b7766d
3 changed files with 32 additions and 0 deletions
@@ -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.