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:
Henry Heng
2025-07-28 01:17:47 +01:00
committed by GitHub
parent 8846fd14e6
commit aea2b184da
26 changed files with 443 additions and 115 deletions
@@ -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)