chore: Update LangChain dependencies (no-changelog) (#16523)

This commit is contained in:
Eugene
2025-06-20 11:50:14 +02:00
committed by GitHub
parent 57911225e7
commit 67852b826f
21 changed files with 644 additions and 551 deletions

View File

@@ -12,6 +12,7 @@ import {
import { getHttpProxyAgent } from '@utils/httpProxyAgent';
import { getConnectionHintNoticeField } from '@utils/sharedFields';
import type { OpenAICompatibleCredential } from '../../../types/types';
import { openAiFailedAttemptHandler } from '../../vendors/OpenAi/helpers/error-handling';
import { makeN8nLlmFailedAttemptHandler } from '../n8nLlmFailedAttemptHandler';
import { N8nLlmTracing } from '../N8nLlmTracing';
@@ -233,7 +234,7 @@ export class LmChatOpenRouter implements INodeType {
const model = new ChatOpenAI({
openAIApiKey: credentials.apiKey,
modelName,
model: modelName,
...options,
timeout: options.timeout ?? 60000,
maxRetries: options.maxRetries ?? 2,