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

error: DeploymentNotFound #140

Open
UPTOLIMIT opened this issue Sep 9, 2024 · 1 comment
Open

error: DeploymentNotFound #140

UPTOLIMIT opened this issue Sep 9, 2024 · 1 comment

Comments

@UPTOLIMIT
Copy link

Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}

        DEFAULT_CLIENT = AzureOpenAI(
            api_key=AZURE_API_KEY,
            azure_endpoint=AZURE_API_BASE,
            api_version="2024-02-15-preview",
            azure_deployment="gpt-4o",
            model_name="gpt-4o",
        )
        DEFAULT_CLIENT_ASYNC = AsyncAzureOpenAI(
            api_key=AZURE_API_KEY,
            azure_endpoint=AZURE_API_BASE,
            api_version="2024-02-15-preview",
            azure_deployment="gpt-4o",
            model_name="gpt-4o",
            
        )
@chenweize1998
Copy link
Collaborator

Hi. Could you write a script to test the connectivity of your Azure OpenAI service? If the script successfully connects, the same configuration parameters should also work for AgentVerse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants