Update ChatMistral.ts
This commit is contained in:
parent
5a66d23869
commit
0707072a3e
|
|
@ -124,7 +124,7 @@ class ChatMistral_ChatModels implements INode {
|
||||||
const safeMode = nodeData.inputs?.safeMode as boolean
|
const safeMode = nodeData.inputs?.safeMode as boolean
|
||||||
const randomSeed = nodeData.inputs?.safeMode as string
|
const randomSeed = nodeData.inputs?.safeMode as string
|
||||||
const overrideEndpoint = nodeData.inputs?.overrideEndpoint as string
|
const overrideEndpoint = nodeData.inputs?.overrideEndpoint as string
|
||||||
// Waiting fix from langchain to enable streaming
|
// Waiting fix from langchain + mistral to enable streaming - https://github.com/mistralai/client-js/issues/18
|
||||||
const streaming = nodeData.inputs?.streaming as boolean
|
const streaming = nodeData.inputs?.streaming as boolean
|
||||||
|
|
||||||
const cache = nodeData.inputs?.cache as BaseCache
|
const cache = nodeData.inputs?.cache as BaseCache
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue