You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prompt is sent to OpenRouter without issue, filed edited, and commit is applied. At the end of the cycle, it prints the following chain:
Tokens: 12k sent, 757 received. Cost: $0.05 message, $0.38 session.
Applied edit to src/filename.ext (file name removed to protect the innocent tokens)
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
Failed to generate commit message!
Commit 488248e (no commit message provided)
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
summarizer unexpectedly failed for all models
You can use /undo to undo and discard each aider commit.
Version and model info
Aider v0.69.1
Main model: openrouter/anthropic/claude-3.5-sonnet with diff edit format, infinite output
Weak model: openrouter/anthropic/claude-3-5-haiku
Git repo: .git with 157 files
The text was updated successfully, but these errors were encountered:
Issue
Aider is throwing errors related to OpenAI API keys when using other models. This began occurring in 0.69.1.
OS:
Arch Linux/hyprland/kitty (all packages up to date)
Steps to reproduce using Openrouter:
open terminal
cd to local repo
run:
export OPENROUTER_API_KEY=with_a_valid_key_here
run:
aider
aider command:
/model openrouter/anthropic/claude-3.5-sonnet
Add some files using /add
send a prompt to the model
model
prompt is sent to OpenRouter without issue, filed edited, and commit is applied. At the end of the cycle, it prints the following chain:
Tokens: 12k sent, 757 received. Cost: $0.05 message, $0.38 session.
Applied edit to src/filename.ext (file name removed to protect the innocent tokens)
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
Failed to generate commit message!
Commit 488248e (no commit message provided)
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The API provider is not able to authenticate you. Check your API key.
summarizer unexpectedly failed for all models
You can use /undo to undo and discard each aider commit.
Version and model info
Aider v0.69.1
Main model: openrouter/anthropic/claude-3.5-sonnet with diff edit format, infinite output
Weak model: openrouter/anthropic/claude-3-5-haiku
Git repo: .git with 157 files
The text was updated successfully, but these errors were encountered: