Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Suggest fails on Claude-3 #281

Closed
PretzelVector opened this issue Apr 24, 2024 · 2 comments
Closed

Auto Suggest fails on Claude-3 #281

PretzelVector opened this issue Apr 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@PretzelVector
Copy link

Hello,

Thank you for your work on this plugin. Unfortunately, I am having some difficulties getting things functioning with Anthropic.

Steps to reproduce:

  1. Create a new vault
  2. Enable community plugins and install obsidian-text-generator
  3. Edit the settings as follows:
  • LLM Provider: Chat Anthropic
  • Anthropic API Key
  • Model: claude-3-haiku-20240307
  • Enable auto suggest
  1. Close settings
  2. 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

@nhaouari nhaouari added the bug Something isn't working label May 2, 2024
@cal-van
Copy link

cal-van commented Oct 6, 2024

+1 - Claude 3.5 Sonnet

@haouarihk
Copy link
Collaborator

This will be fixed in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants