-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error when connecting to Claude through OpenRouter #2
Comments
Hey @glowacky |
I think you're right – on this OpenAI page, it seems like the equivalent finish_reason would be "stop" No rush – will be on the lookout for the exception, thanks! 🙏 |
Hi @zeitlings ! Was this resolved? Still getting the error in alpha-4. It occurred to me that finish_reason could maybe become another environment variable (openai_alternative_proxy_finish_reason). What do you think? |
Hey @glowacky Thanks for the suggestion, I think that's a very good idea. The next version will consider the environment variable |
@glowacky alpha.5 is ready to go now. Let me know if everything works as expected! |
Seems to be working great, thanks! |
Hi @zeitlings , I've been able to use the workflow to access OpenRouter and the anthropic/claude-3.5-sonnet model, but the following error message appears at the end of every output:
Thanks in advance!
The text was updated successfully, but these errors were encountered: