Skip to content

Python: Failed to chat on Agent Playground — message stuck loading (no response). #594

@Menghua1

Description

@Menghua1

Description:
After the deployment completes, navigate to the agent playground link shown in the post-deploy output and try out some test inputs. The Agent Playground remains stuck in a loading/spinning state and no response is returned. Details are as follows:
Image
In addition, pytest also fails due to request timeouts. Details are as follows:
Image

Steps to Reproduce:

  1. Initialize the project: azd init --template Azure-Samples/ai-foundry-starter-basic.
  2. Initialize AI agent: azd ai agent init -m https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/agent-framework/echo-agent/agent.yaml and select location southcentralus.
  3. Run azd up.
  4. Navigate to the agent playground link.
  5. Enter a test message, such as: "Hello world!"

Environment:

Expected Behavior:
The Agent Playground chat works correctly, and pytest also passes successfully.

@JeffreyCA and @rajeshkamal5050 for notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions