-
Notifications
You must be signed in to change notification settings - Fork 680
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
openrouter {'message': 'Missing Authentication header or invalid API key', 'code': 401}} #357
Comments
Haven't tested this endpoint before. Could you firstly try if you can access the endpoint using a simple script with the |
"We use Docker images and pass OpenRouter parameters through environment variables, which works fine. Currently, we are running the code from the main branch, and the same parameters are causing the above error." |
"I also encounter the same error when running the LLM_API_test unit test." |
I just registered and try a random query with the following configurations:
Everything went well. I got the following output:
So, I'm not sure what is the problem in your case. |
3q |
I had same problem with openrouter key, befor running well and then reached error as above |
"I'm using openrouter to access gpt-4, configuring the taskweaver_config.json file with the settings as shown in the figure, but I keep getting this error message every time I ask a question."
{
"llm.api_base": "https://openrouter.ai/api/v1",
"llm.api_key": "sk-0r-v1-3760747aa4803dfla7b0f3da07e104210d1c.......................................",
"llm.model": "openai/gpt-4o"
}
The text was updated successfully, but these errors were encountered: