Closed wayne-chang closed 10 months ago
okay, update.
when i change "claude model" input from claude-2.1 to just "claude-2
", it executes (but on the old claude-2 model, not the 2.1 model)
when i change it back to "claude-2.1
", the undefined error reappears.
I think the Claude chat node tries to enforce token limits, and does this with a dictionary mapping model names to token limits. We need to cover the case where the model is unknown, in which case we cannot enforce token limits that are unknown.
Should be a simple fix.
Fixed in 4055482bf1f4ad2a598df909ff14d95c39bce5dc
What happened?
What was the expected functionality?
Expected Claude 2.1 to execute but getting "undefined" error on the Max Tokens.
Describe your environment
Mac OS, Node v21.5.0, Anthropic Plugin
Relevant log output
No response
Relevant screenshots
No response
Code of Conduct