Skip to content

azd ai agent run fails in LangGraph Toolbox scenario due to missing AZURE_AI_MODEL_DEPLOYMENT_NAME #725

@Menghua1

Description

@Menghua1

Description:
When testing Scenario 3: LangGraph Toolbox (Responses), azd ai agent run fails. The log shows: ValueError: AZURE_AI_MODEL_DEPLOYMENT_NAME environment variable must be set.
Image

Steps to Reproduce:

  1. mkdir langgraph-toolbox and cd langgraph-toolbox
  2. Run azd ai agent init --manifest "https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/bring-your-own/responses/langgraph-toolbox/agent.manifest.yaml" and select location northcentralus.
  3. Run azd up.
  4. Run export TOOLBOX_ENDPOINT=$(azd env get-value TOOLBOX_AGENT_TOOLS_MCP_ENDPOINT).
  5. Run azd ai agent run.

Environment:

Expected Behavior:
azd ai agent run can start successfully.

@JeffreyCA and @rajeshkamal5050 for notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions