gpt-pilot icon indicating copy to clipboard operation
gpt-pilot copied to clipboard

Azure openAI not working[Bug]:

Open KermaniMojtaba opened this issue 1 year ago • 2 comments

Version

VisualStudio Code extension

Operating System

MacOS

What happened?

I've set the below config in gpt-pilot/pilot/.env file:

ENDPOINT=AZURE AZURE_API_KEY= XXXXXXXXXXXXXXX AZURE_ENDPOINT=XXXXXXXX MODEL_NAME=gpt-4-turbo

But i get this error: There was a problem with request to openai API: API responded with status code: 404. Request token size: 23 tokens. Response text: { "statusCode": 404, "message": "Resource not found" }

I'm able to get responses using the same key& endpoint and model using Python in vscode, but they don't seem to work for Pythagora .

Am i missing something?

Thanks

KermaniMojtaba avatar Apr 03 '24 08:04 KermaniMojtaba

Hi @KermaniMojtaba, I have the same issue.

Did you manage to solve by any chance? Thanks

str0tta avatar Apr 09 '24 22:04 str0tta

i have the same issue, the chat UI is responsive but i get this error in the code monkey agent

doruit avatar Apr 15 '24 15:04 doruit

hey there, seems like a 404 from the API, therefore i am gonna close this issue since its not a GPT-Pilot related problem

techjeylabs avatar Apr 19 '24 14:04 techjeylabs