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
when I ran ./autogpt.sh serve in AutoGPT/autogpts/autogpt, it report
AutoGPT/autogpts/autogpt
2024-05-06 15:09:18,850 ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-05-06 15:09:18,850 INFO You can get your key from https://platform.openai.com/account/api-keys
Where Can I set Azure key?
Upload Activity Log Content
AutoGPT/autogpts/autogpt
2024-05-06 15:09:18,850 ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-05-06 15:09:18,850 INFO You can get your key from https://platform.openai.com/account/api-keys
Upload Error Log Content
AutoGPT/autogpts/autogpt
2024-05-06 15:09:18,850 ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-05-06 15:09:18,850 INFO You can get your key from https://platform.openai.com/account/api-keys
The text was updated successfully, but these errors were encountered:
Which Operating System are you using?
Linux
Which version of AutoGPT are you using?
Latest Release
Do you use OpenAI GPT-3 or GPT-4?
GPT-4(32k)
Which area covers your issue best?
Installation and setup
Describe your issue.
I set .env and azure.yaml in AutoGPT/autogpts/autogpt.
.env content
`
OPENAI_API_KEY=14fcdXXXXX -- Azure key start without sk-,and its pattern is not like OpenAI
TELEMETRY_OPT_IN=false
USE_AZURE=True
AZURE_CONFIG_FILE=azure.yaml
azure.yaml content
azure_api_type: azure
azure_api_version: 2024-04-01-preview
azure_endpoint: https://xxxx.openai.azure.com/
azure_model_map:
`
when I ran ./autogpt.sh serve in AutoGPT/autogpts/autogpt, it report
AutoGPT/autogpts/autogpt
2024-05-06 15:09:18,850 ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-05-06 15:09:18,850 INFO You can get your key from https://platform.openai.com/account/api-keys
Where Can I set Azure key?
Upload Activity Log Content
AutoGPT/autogpts/autogpt
2024-05-06 15:09:18,850 ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-05-06 15:09:18,850 INFO You can get your key from https://platform.openai.com/account/api-keys
Upload Error Log Content
AutoGPT/autogpts/autogpt
2024-05-06 15:09:18,850 ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-05-06 15:09:18,850 INFO You can get your key from https://platform.openai.com/account/api-keys
The text was updated successfully, but these errors were encountered: