mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 09:01:06 +03:00
Chore/Patch OpenAI Nodes (#4958)
- update lc community and openai version - fix chatfireworks - update reasonings for openai models - update openai apikey param
This commit is contained in:
@@ -124,7 +124,10 @@ class ChatLitellm_ChatModels implements INode {
|
||||
if (topP) obj.topP = parseFloat(topP)
|
||||
if (timeout) obj.timeout = parseInt(timeout, 10)
|
||||
if (cache) obj.cache = cache
|
||||
if (apiKey) obj.openAIApiKey = apiKey
|
||||
if (apiKey) {
|
||||
obj.openAIApiKey = apiKey
|
||||
obj.apiKey = apiKey
|
||||
}
|
||||
|
||||
const model = new ChatOpenAI(obj)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user