obsidian-copilot icon indicating copy to clipboard operation
obsidian-copilot copied to clipboard

Model verification should not fail when it's working fine

Open timfong888 opened this issue 3 months ago • 4 comments

  • [ ] Disable all other plugins besides Copilot (required)
  • [ ] Screenshot of note + Copilot chat pane + dev console added (required)

Copilot version:

(Bug report without the above will be closed)

Image

Describe how to reproduce tried to add Sonnet from Anthropic

Expected behavior Enable adding

Screenshots *

Image

Additional context Add any other context about the problem here.

timfong888 avatar Sep 27 '25 12:09 timfong888

This is not a CORS error. As the popup mentioned, you need greater max tokens to make sure it's greater than the thinking budget. Try a bigger max tokens for this model in your model setting.

logancyang avatar Sep 27 '25 19:09 logancyang

Thanks I left everything at the defaults so assumed this was sufficient. I will check on it.

because you authored the thread.

timfong888 avatar Sep 28 '25 05:09 timfong888

@logancyang Just to let you know: This is confusing as the error happens when you add a new anthropic model and hit verify (where you cannot control the max tokens yet). You have to add the model even though it does not verify without error and change the max tokens afterwards

dotKokott avatar Oct 04 '25 13:10 dotKokott

@logancyang Just to let you know: This is confusing as the error happens when you add a new anthropic model and hit verify (where you cannot control the max tokens yet). You have to add the model even though it does not verify without error and change the max tokens afterwards

Yes. This will be fixed. Thanks for the reminder!

ichts avatar Oct 04 '25 14:10 ichts