mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
- Delete all launchSettings.json files (port 8088 now comes from ASPNETCORE_URLS in .env) - Add DotNetEnv to Hosted-Invocations-EchoAgent so it loads .env like the responses samples - Create .env.example for EchoAgent with ASPNETCORE_URLS and ASPNETCORE_ENVIRONMENT - Add AGENT_NAME to ChatClientAgent and FoundryAgent .env.example (required by those samples) - Add AZURE_BEARER_TOKEN=DefaultAzureCredential to all .env.example files - Update DevTemporaryTokenCredential in all 6 samples to treat the sentinel value as unavailable, allowing ChainedTokenCredential to fall through to DefaultAzureCredential - Update EchoAgent README with Configuration section
6 lines
204 B
Bash
6 lines
204 B
Bash
AZURE_AI_PROJECT_ENDPOINT=<your-azure-ai-project-endpoint>
|
|
ASPNETCORE_URLS=http://+:8088
|
|
ASPNETCORE_ENVIRONMENT=Development
|
|
AZURE_AI_MODEL_DEPLOYMENT_NAME=gpt-4o
|
|
AZURE_BEARER_TOKEN=DefaultAzureCredential
|