Commit 455710a
Automated sync from private repo (2026-04-24) (#671)
* Update MAF samples to latest pkg version. Update toolbox sample to reflect client usage (#172)
e2e pipeline is green https://github.com/microsoft-foundry/foundry-samples-pr/actions/runs/24825668586
* Finalize dependency version bumps (#173)
Agent-Logs-Url: https://github.com/microsoft-foundry/foundry-samples-pr/sessions/ad7f8d27-7387-4071-b2af-a151926b054d
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ankitbko <3169316+ankitbko@users.noreply.github.com>
* Simplify Azure auth for LangGraph ChatOpenAI client (#176)
* Clarify GITHUB_TOKEN usage in README and move remote invocation section (#174)
* docs: update README to clarify GITHUB_TOKEN usage and remove remote invocation section. Fixes #669
* docs: update README and agent manifest to clarify GITHUB_TOKEN setup instructions
* refactor(toolbox): move toolbox samples into hosted-agents, rename with -toolbox suffix (#170)
* feat: add toolbox samples to hosted-agents with correct structure
- Python langgraph, copilot-sdk, azd -> bring-your-own/responses/
- Python maf -> agent-framework/responses/
- C# maf -> agent-framework/responses/
* Potential fix for pull request finding 'CodeQL / Incomplete URL substring sanitization'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for pull request finding 'CodeQL / Incomplete URL substring sanitization'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for pull request finding 'CodeQL / Incomplete URL substring sanitization'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for pull request finding 'CodeQL / Incomplete URL substring sanitization'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* fix: address PR review comments - remove maf/copilot-sdk samples, clean up tracing, fix endpoints, update schemas
* feat: add dotnet maf-toolbox sample (Agent Framework + Responses SDK)
* fix: move dotnet maf-toolbox to correct structure (bring-your-own/responses/maf-toolbox)
* ci: skip azd-toolbox and azd-samples sub-samples in CI
azd-toolbox requires github_pat external credential which cannot be
provided in --no-prompt CI mode.
azd-samples/web-search and azd-samples/code-interpreter are configuration-only
sub-samples with no standalone Dockerfile; they reference the parent azd-toolbox
template source and cannot be deployed independently in CI.
* ci: provide GITHUB_PAT for azd-toolbox init, remove its .ci-skip
* ci: use GITHUB_PAT secret (real PAT) instead of GITHUB_TOKEN for azd-toolbox init
* ci: fall back to GITHUB_TOKEN if GITHUB_PAT secret is not set
* ci: set github_pat env var (lowercase) for azd --no-prompt parameter resolution
* fix: address reviewer feedback on toolbox samples
- csharp/maf-toolbox: use project-scoped endpoint for AzureOpenAIClient; use
TOOLBOX_NAME to construct MCP URL instead of explicit TOOLBOX_ENDPOINT; add
kind:toolbox resource to agent.manifest.yaml
- azd-toolbox + langgraph-toolbox: swap TOOLBOX_ENDPOINT env var for TOOLBOX_NAME
and construct endpoint from project endpoint + toolbox name (consistent with
04-foundry-toolbox reference); remove azure-ai-agentserver-core (optional dep
no longer required); restructure agent.yaml to flat format (remove template:
wrapper, move env vars to manifest only, add cpu/memory resources); clean up
.dockerignore; update README title and remove stale step 6 (MODEL_DEPLOYMENT_NAME
is auto-set when model is in azd resources section); add note to a2a sub-sample
explaining shared-source pattern
* fix: remove unused setup.py from langgraph-toolbox, fix manifest TOOLBOX_NAME
* refactor: move csharp maf-toolbox from bring-your-own to agent-framework
* feat: add bring-your-own-toolbox python responses sample
* fix(azd-toolbox): rename MODEL_DEPLOYMENT_NAME to AZURE_AI_MODEL_DEPLOYMENT_NAME
* fix(azd-toolbox): add missing env vars to agent.yaml, pin azure-ai-projects to GA version
* fix(langgraph-toolbox): rename MODEL_DEPLOYMENT_NAME to AZURE_AI_MODEL_DEPLOYMENT_NAME, add env vars to agent.yaml, pin azure-ai-projects to GA
* chore: remove toolbox folder (superseded by bring-your-own-toolbox)
* fix(bring-your-own-toolbox): add required parameters property to agent.manifest.yaml
* chore: remove csharp maf-toolbox sample
* chore: remove infra from bring-your-own-toolbox, remove azd-toolbox
* chore(bring-your-own-toolbox): remove azure.yaml (infra not needed)
* chore: remove python toolbox/azd sample
* revert: restore samples/python/toolbox/azd (should not have been deleted)
* fix(workflow): remove duplicate GITHUB_PAT env var in hosted-agents-cloud-e2e.yml
* fix(langgraph-toolbox): add required tools field to toolbox resource in agent.manifest.yaml
* docs: add azd quick start guide to hosted-agent toolbox READMEs
* fix(bring-your-own-toolbox): degrade gracefully when TOOLBOX_ENDPOINT is not set
* docs: replace azd provision + azd deploy with azd up in toolbox READMEs
* Add TOOLBOX_NAME environment variable setting
* fix(toolbox): use {{}} template syntax for TOOLBOX_NAME and align bring-your-own-toolbox with langgraph-toolbox pattern
Agent-Logs-Url: https://github.com/microsoft-foundry/foundry-samples-pr/sessions/e9a3804a-debf-4dc2-ae55-1d218327678d
Co-authored-by: lindazqli <139801625+lindazqli@users.noreply.github.com>
* fix(toolbox): use plain toolbox resource name in TOOLBOX_NAME env var, not template syntax
Agent-Logs-Url: https://github.com/microsoft-foundry/foundry-samples-pr/sessions/f8397b5f-2aad-4c59-acf3-c9894a051e0c
Co-authored-by: lindazqli <139801625+lindazqli@users.noreply.github.com>
* fix(toolbox): surface exceptions instead of swallowing them in response handlers
Agent-Logs-Url: https://github.com/microsoft-foundry/foundry-samples-pr/sessions/271ff96a-7ac5-4db2-a4e1-c7a4516fddce
Co-authored-by: lindazqli <139801625+lindazqli@users.noreply.github.com>
* refactor(ci): unify invoke steps into single protocol-aware multi-turn step
Agent-Logs-Url: https://github.com/microsoft-foundry/foundry-samples-pr/sessions/2f4634d2-3f83-404b-961f-d323a97aa93f
Co-authored-by: ankitbko <3169316+ankitbko@users.noreply.github.com>
* fix(langgraph-toolbox): replace AzureChatOpenAI with ChatOpenAI using /openai/v1 endpoint
AzureChatOpenAI with the Foundry project endpoint fails with
'API version not supported'. The correct pattern is ChatOpenAI with
base_url={PROJECT_ENDPOINT}/openai/v1 and a custom bearer token auth hook,
matching the langgraph-chat reference sample (eamonoreilly review comment).
Also consolidates _ToolboxAuth and the LLM auth into a single _AzureTokenAuth
class shared by both the LLM http client and the toolbox MCP client.
* fix(langgraph-toolbox): add async_client for ChatOpenAI so ainvoke auth works
The responses protocol uses ainvoke (async). ChatOpenAI needs both http_client
(sync) and http_async_client (async) to inject the bearer token. Without
http_async_client, the async path uses a default client with no auth -> 401.
* test: add test-payload.txt for toolbox samples
Agent-Logs-Url: https://github.com/microsoft-foundry/foundry-samples-pr/sessions/3a8a1e39-65ff-43e1-b43e-3292b85515f3
Co-authored-by: ankitbko <3169316+ankitbko@users.noreply.github.com>
* refactor: unify payload file to single test-payload.txt (one prompt per line)
Agent-Logs-Url: https://github.com/microsoft-foundry/foundry-samples-pr/sessions/530e0703-8703-4f11-8b77-b289865e25ab
Co-authored-by: ankitbko <3169316+ankitbko@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Ankit Sinha <ankitbko@gmail.com>
Co-authored-by: ankitbko <3169316+ankitbko@users.noreply.github.com>
* Improve MAF Python sample READMEs (#171)
* Improve MAF Pytho sample READMEs
* address comments
* MODEL_DEPLOYMENT_NAME -> AZURE_AI_MODEL_DEPLOYMENT_NAME
* Update sync state to ebe7f93
---------
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ankitbko <3169316+ankitbko@users.noreply.github.com>
Co-authored-by: Eamon O'Reilly <eamono@microsoft.com>
Co-authored-by: John Miller <johmil@microsoft.com>
Co-authored-by: Linda Li <139801625+lindazqli@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Ankit Sinha <ankitbko@gmail.com>
Co-authored-by: Tao Chen <taochen@microsoft.com>
Co-authored-by: foundry-samples-repo-sync[bot] <foundry-samples-repo-sync[bot]@users.noreply.github.com>1 parent 64ccbb6 commit 455710a
112 files changed
Lines changed: 2216 additions & 3893 deletions
File tree
- .github
- samples
- csharp/hosted-agents
- agent-framework/invocations-echo-agent
- bring-your-own
- invocations
- HelloWorld
- human-in-the-loop
- notetaking-agent
- responses
- HelloWorld
- background-agent
- notetaking-agent
- python
- hosted-agents
- agent-framework
- invocations/01-basic
- responses
- 01-basic
- 02-tools
- 03-mcp
- 04-foundry-toolbox
- 05-workflows
- bring-your-own
- invocations
- ag-ui
- github-copilot
- hello-world
- human-in-the-loop
- langgraph-chat
- notetaking-agent
- toolbox
- responses
- background-agent
- bring-your-own-toolbox
- hello-world
- langgraph-chat
- langgraph-toolbox
- notetaking-agent
- toolbox
- infra
- core
- ai
- host
- monitor
- search
- storage
- toolbox/azd
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
samples/csharp/hosted-agents/bring-your-own/invocations/human-in-the-loop/human-in-the-loop.csproj
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 0 additions & 1 deletion
This file was deleted.
0 commit comments