Skip to content
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

Can't set up Azure OpenAI as a provider #1352

Open
thewildofficial opened this issue Feb 23, 2025 · 2 comments
Open

Can't set up Azure OpenAI as a provider #1352

thewildofficial opened this issue Feb 23, 2025 · 2 comments
Assignees
Labels
bug Something isn't working cli

Comments

@thewildofficial
Copy link

goose configure

This will update your existing config file
  if you prefer, you can edit it directly at /Users/aban/.config/goose/config.yaml

┌   goose-configure 
│
◇  What would you like to configure?
│  Configure Providers 
│
◇  Which model provider should we use?
│  Azure OpenAI 
│
●  AZURE_OPENAI_API_KEY is already configured
│  
◇  Would you like to update this value?
│  Yes 
│
◇  Enter new value for AZURE_OPENAI_API_KEY
│  ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
●  AZURE_OPENAI_ENDPOINT is already configured
│  
◇  Would you like to update this value?
│  Yes 
│
◇  Enter new value for AZURE_OPENAI_ENDPOINT
│  https://abanagent.openai.azure.com/
│
●  AZURE_OPENAI_DEPLOYMENT_NAME is already configured
│  
◇  Would you like to update this value?
│  Yes 
│
◇  Enter new value for AZURE_OPENAI_DEPLOYMENT_NAME
│  Microsoft.CognitiveServicesOpenAI-20250223113144
│
◇  Enter a model from that provider:
│  gpt-4o
│
◇  Request failed: Request failed with status: 404 Not Found
│
└  Failed to configure provider: init chat completion request with tool did not succeed.

Please provide following information:

  • MacOS Sequoia
  • Interface: both UI and CLI
  • Version: 1.0.7
  • Provider & Model:: Azure OpenAI
@yingjiehe-xyz
Copy link
Collaborator

@thewildofficial can you try a new version. We updated the error hanlding, it should print more details about the 404 error with new version

@yingjiehe-xyz yingjiehe-xyz added bug Something isn't working cli labels Feb 24, 2025
@alicehau
Copy link
Collaborator

@thewildofficial let us know if the new version shows more details about the 404 error

Do you know which API version your setup needs? We're using the latest GA release 2024-10-01 (https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli
Projects
None yet
Development

No branches or pull requests

4 participants