obsidian-textgenerator-plugin
obsidian-textgenerator-plugin copied to clipboard
Auto Suggest fails on Claude-3
Hello,
Thank you for your work on this plugin. Unfortunately, I am having some difficulties getting things functioning with Anthropic.
Steps to reproduce:
- Create a new vault
- Enable community plugins and install
obsidian-text-generator
- Edit the settings as follows:
- LLM Provider: Chat Anthropic
- Anthropic API Key
- Model: claude-3-haiku-20240307
- Enable auto suggest
- Close settings
- Place cursor at the end of the
Welcome
note and hit double space
Expected Behaviour: After a brief pause, the auto-suggest options appear.
Actual Behaviour: Error message and no text generation.
Error: "stopSequence" parameter found in input and default params
at ChatAnthropic2._generate (plugin:obsidian-textgenerator-plugin:99092:17)
at eval (plugin:obsidian-textgenerator-plugin:22511:93)
at Array.map (<anonymous>)
at ChatAnthropic2._generateUncached (plugin:obsidian-textgenerator-plugin:22511:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async eval (plugin:obsidian-textgenerator-plugin:259505:29)
Thanks again, ~PV