Skip to content

Issues with Local Deployment connecting to AOAI #35

@timothymeyers

Description

@timothymeyers

I'm trying to work through the Local Deployment as described in the LocalDeployment.md file.

Everything is deployed per the instructions with both Cosmos and AOAI resources running in Azure and my .env file is set up per the instructions.

I can run the backend and frontend per the instructions. Backend /healthz returns OK and Frontend loads on :3000.

Whenever I attempt to generate a Plan, the logs show a 404 for the AOAI resource access. The chat is stored to the Cosmos memory, however, so that is working.

It looks like it is having challenges authenticating to the AOAI instance. I've tried to debug and noticed within auth_utils.py that the user_object is being populated with dummy data rather than using my DefaultAzureCredential, though I'm not sure exactly what the intention is here.

I'm a bit unsure how to proceed to get the backend to properly auth with AOAI when running locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions