Open stone-w4tch3r opened 1 month ago
the api url should be complete (with /chat/completions) https://openrouter.ai/api/v1/chat/completions
Oh, I see! Thanks
I checked, there was a default value with completions endpoint, but I overlooked it once pasted my url
Maybe we can add a hint here?
src/_locales/en/main.json
:
{
"Custom Model API Url": "Custom Model API Url (chat completions endpoint)",
}
I can create a PR if you find this useful
Describe the bug 问题描述 I configured openrouter + claude as Custom Model, but in chat error 405 appears each time I try to ask model. Same issue with gpt-4o model. I checked that model name is correct
To Reproduce 如何复现 Steps to reproduce the behavior:
Expected behavior 期望行为 Normal response
Screenshots 截图说明
Please complete the following information): 请补全以下内容
I double checked that model-key-endpoint are fine via pure python request