feat(Cohere Chat Model Node): Add Cohere Chat Model node (#16888)

This commit is contained in:
oleg
2025-07-09 13:20:25 +02:00
committed by GitHub
parent 59704b4010
commit c37397cb2b
10 changed files with 604 additions and 10 deletions

View File

@@ -65,7 +65,10 @@ function createAgentExecutor(
fallbackAgent ? agent.withFallbacks([fallbackAgent]) : agent,
getAgentStepsParser(outputParser, memory),
fixEmptyContentMessage,
]);
]) as AgentRunnableSequence;
runnableAgent.singleAction = false;
runnableAgent.streamRunnable = false;
return AgentExecutor.fromAgentAndTools({
agent: runnableAgent,