Merge branch 'main' into feature/Credential

This commit is contained in:
Henry
2023-07-27 11:37:30 +01:00
25 changed files with 30 additions and 27 deletions
@@ -141,8 +141,8 @@ class ChatAnthropic_ChatModels implements INode {
}
if (maxTokensToSample) obj.maxTokensToSample = parseInt(maxTokensToSample, 10)
if (topP) obj.topP = parseInt(topP, 10)
if (topK) obj.topK = parseInt(topK, 10)
if (topP) obj.topP = parseFloat(topP)
if (topK) obj.topK = parseFloat(topK)
const model = new ChatAnthropic(obj)
return model