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
Found a bug? Please fill out the sections below. 👍
Describe the bug
[Self-Operating Computer | claude-3]
Hello, I can help you with anything. What would you like done?
[User]
move mouse little to the right
[Self-Operating Computer][claude-3] That did not work. Trying another method
[Self-Operating Computer][Operate] That did not work. Trying again Error code: 401 - {'error': {'message': 'Incorrect API key provided: google/g*************free. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
[Self-Operating Computer][Error] -> cannot access local variable 'content' where it is not associated with a value
PS C:\Users\Tango>
Steps to Reproduce
installed normally
tried Google: Gemma 2 9B (free) api from open source and did not work
changed claude m version you suggested on page
got that msg above
Expected Behavior
work normally
Actual Behavior:
msg above
Environment
OS: window 11
Model Used Google: Gemma 2 9B (free) claude
The text was updated successfully, but these errors were encountered:
You should enter the entire API key, including the sk-proj- prefix. The entire API key looks like this: sk-proj-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, where xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx is the rest of the key.
How to enter the API key in the configuration file:
Here's how to do it:
Open the configuration file (config.py) in your text editor.
Find where you define your OpenAI API key.
Enter entire API key:
Replace "your_api_key" with your full API key, including the sk-proj- prefix. Example:
classConfig:
def__init__(self):
load_dotenv()
self.verbose=Falseself.openai_api_key="sk-proj-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"# Enter your entire API key hereself.google_api_key=Noneself.anthropic_api_key=None
Alternatively, use the .env file:
Create an .env file in the root of your project if you don't already have one.
Found a bug? Please fill out the sections below. 👍
Describe the bug
[Self-Operating Computer | claude-3]
Hello, I can help you with anything. What would you like done?
[User]
move mouse little to the right
[Self-Operating Computer][claude-3] That did not work. Trying another method
[Self-Operating Computer][Operate] That did not work. Trying again Error code: 401 - {'error': {'message': 'Incorrect API key provided: google/g*************free. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
[Self-Operating Computer][Error] -> cannot access local variable 'content' where it is not associated with a value
PS C:\Users\Tango>
Steps to Reproduce
Expected Behavior
work normally
Actual Behavior:
msg above
Environment
The text was updated successfully, but these errors were encountered: