Skip to content

Update bing_grounding.py#157

Closed
mobaniha wants to merge 933 commits into
microsoft-foundry:mainfrom
mobaniha:patch-2
Closed

Update bing_grounding.py#157
mobaniha wants to merge 933 commits into
microsoft-foundry:mainfrom
mobaniha:patch-2

Conversation

@mobaniha
Copy link
Copy Markdown

Remove the API version from AIProjectClient and add subscription_id, resource_group, and project_name parameters as they are required.

mwhalin and others added 30 commits May 15, 2025 14:38
…-sdk/customer-service-agent/Agents directory
…-sdk/customer-service-agent/agents directory
…-sdk/customer-service-agent/CustomerSupport.fdl
…-sdk/customer-service-agent/HumanEscalationAgent.agent
…-sdk/customer-service-agent/RoutingAgent.agent
PabloNunes and others added 25 commits May 19, 2025 09:32
Small fix on the system calls for Environment keys - .NET
Add CODEOWNERS for files used in docs
Update to me (for now), team not available here yet.
…r/fix-role-assignment

Fixed Workspace GUID and References
…-1rp

Adapting Semantic Kernel agents to use Foundry project endpoint
Tweaked readme and comments in config files
…ve-update

update voice live agent sample for FDP projects
Remove the API version from AIProjectClient and add subscription_id, resource_group, and project_name parameters as they are required.
Px8Studio pushed a commit to Px8Studio/foundry-samples that referenced this pull request Nov 14, 2025
* refactor(pre-commit): Remove duplicated pre-commit config

* refactor: Move CI script out of repository root

* refactor: Resolve lint issues in script
brandom-msft pushed a commit that referenced this pull request Apr 22, 2026
* [feat] valuation-Only Setup with Private Network Isolation (#147)

* [feat] valuation-Only Setup with Private Network Isolation

* Automatic fixes

---------

Co-authored-by: foundry-samples automation <foundry-samples@noreply.github.com>

* Update CODEOWNERS with new Python model router files (#148)

Added new CODEOWNERS entries for model router Python scripts.

* Fix snippet tag to exclude return statement from code excerpt (#149)

Move the closing </create_agent_with_tools> snippet tag to before
the 'return agent' line so the rendered documentation snippet does
not show a 'return' statement outside a function body.

Fixes: OPS-E2E-PPE/azure-ai-docs-pr#4968

Co-authored-by: Jon Burchel <jonburchel@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add E2E pipeline and remove old samples (#154)

* added e2e pipeline

* deleted old samples

---------

Co-authored-by: Ankit Sinha <anksinha@microsoft.com>

* docs: add CosmosDB connection requirements note for ResourceId and AAD authType (#153)

Add important notes to 6 infrastructure setup READMEs clarifying that:
- The authType must be set to AAD (only supported type for CosmosDB)
- The ResourceId property must be included in the connection metadata

This addresses issues where customers creating CosmosDB connections via
REST API were omitting the ResourceId property, causing connection failures.

Affected setups:
- 15-private-network-standard-agent-setup
- 16-private-network-standard-agent-apim-setup-preview
- 17-private-network-standard-user-assigned-identity-agent-setup
- 18-managed-virtual-network-preview
- 19-hybrid-private-resources-agent-setup
- 41-standard-agent-setup

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: use agent_reference instead of deprecated agent property in TypeScript samples (#156)

The API rejects the 'agent' body property with 400: 'The agent property is
deprecated. Use agent_reference instead.'

Changes:
- quickstart/chat-with-agent: agent -> agent_reference (2 occurrences)
- quickstart/chat-with-agent: fix undefined FOUNDRY_AGENT_NAME -> AGENT_NAME
- quickstart/agent-service: agent -> agent_reference
- enterprise-agent-tutorial/1-idea-to-prototype: agent -> agent_reference

* fix: use /a2a path in A2A server agent card for DataProxy compatibility (#157)

The Foundry DataProxy's HttpProxyV1Controller routes requests through
/v1/https/{serviceName}/{**remainder} where the [Required] attribute on
the remainder parameter rejects empty strings. When the A2A agent card
URL uses root path (/), the remainder is empty, causing a 400 Bad Request
before the request is ever forwarded.

This change:
- Sets the agent card URL to /a2a instead of /
- Adds POST /a2a route (keeps POST / for backward compatibility)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat(toolbox): add Python and C# toolbox samples (#152)

* feat(toolbox): add Python and C# toolbox samples

Add toolbox agent samples for Azure AI Foundry hosted agents:

- samples/python/toolbox: azd, copilot-sdk, langgraph, maf variants
  with agent manifests, Dockerfiles, and azd-samples for all supported tools
- samples/csharp/toolbox: crud-sample and maf variants

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* fix: use Microsoft Foundry naming and toolbox-in-Foundry phrasing

* toolbox: add tracing setup.py for langgraph sample

* toolbox: add tracing setup.py for azd sample

* toolbox: add tracing dependencies to langgraph/requirements.txt

* toolbox: add tracing dependencies to azd/requirements.txt

* toolbox: add LangGraph auto-tracing to langgraph/main.py

* toolbox: add LangGraph auto-tracing to azd/main.py

* toolbox: update README — tracing ✅ for all samples, Microsoft Foundry naming

* Update README.md

* Hosted Agents samples (#155)

* moved samples

* Refactor to use Azure.AI.Extensions.OpenAI and AIProjectClient for improved response handling

Co-authored-by: Copilot <copilot@github.com>

* update agent framework samples

* Remove ephemeral Foundry agent creation and cleanup steps from E2E workflow

* removed older test scripts

* Fix GitHub token reference in E2E workflow for Copilot SDK sample

* added top level readme

* Fix workflow link order in hosted agents README

---------

Co-authored-by: Ankit Sinha <anksinha@microsoft.com>
Co-authored-by: Copilot <copilot@github.com>

* fix: remove Dockerfile entries from .dockerignore files across multiple samples (#162)

* Enhance README files across various samples to promote usage of `azd` for running agents and invoking commands. Added examples for invoking agents with `azd` and `curl`, and streamlined instructions for local development. Removed redundant sections and ensured consistency in formatting and command usage. (#164)

* Delete samples/python/hosted-agents/bring-your-own/sample_toolboxes_crud.py (#166)

* Mnaggaga toolbox lab (#159)

* feat(toolbox): add Python and C# toolbox samples

Add toolbox agent samples for Azure AI Foundry hosted agents:

- samples/python/toolbox: azd, copilot-sdk, langgraph, maf variants
  with agent manifests, Dockerfiles, and azd-samples for all supported tools
- samples/csharp/toolbox: crud-sample and maf variants

* docs: update README for Python and C# toolbox samples to reflect Microsoft Foundry branding and enhance troubleshooting section

---------

Co-authored-by: Linda Li <zhuoqunli@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: C# quickstart samples - use nuget.org and fix Azure.Identity version (#158)

* fix: C# quickstart samples use nuget.org and correct Azure.Identity version

The nuget.config files used <clear/> with only the Azure SDK dev feed,
preventing package restore from nuget.org where the GA 2.0.0 packages
are published. Azure.Identity was pinned to 1.19.0 but Azure.AI.Projects
2.0.0 requires >= 1.20.0, causing NU1605 restore errors.

Changes:
- nuget.config (5 files): Replace dev feed with nuget.org
- *.csproj (4 files): Azure.Identity 1.19.0 -> 1.20.0

All 4 quickstart samples (responses, create-agent, chat-with-agent,
agent-service) now build and run against GA packages from nuget.org.

* fix build errors

* try a different fix

* Standardize BYO hosted agent READMEs with deployment and troubleshooting updates (#168)

* Update BYO hosted agent READMEs with standard deploy and troubleshooting sections

- Replace old deployment links (hosted-agents-vnext-private-preview) with
  standard azd provision/deploy instructions and aka.ms/azdaiagent/docs link
- Replace parent README references with inline deploy sections
- Add ARM64 troubleshooting section to 7 files missing it
- Standardize deploy section heading and azd invoke examples across all 12 BYO samples

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* updated ha readme

---------

Co-authored-by: Ankit Sinha <anksinha@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fixup: correct drift after commit replay

* Update sync state to f8b17a1f1a88

---------

Co-authored-by: zyying <zyysurely@163.com>
Co-authored-by: foundry-samples automation <foundry-samples@noreply.github.com>
Co-authored-by: Sheri Gilley <sgilley@microsoft.com>
Co-authored-by: Jon Burchel <jburchel@microsoft.com>
Co-authored-by: Jon Burchel <jonburchel@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Ankit Sinha <ankitbko@gmail.com>
Co-authored-by: Ankit Sinha <anksinha@microsoft.com>
Co-authored-by: sarajag <64988727+sarajag@users.noreply.github.com>
Co-authored-by: djetchev <dimitar.jetchev@iohk.io>
Co-authored-by: Linda Li <139801625+lindazqli@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Hui Miao <miuhui@outlook.com>
Co-authored-by: John Miller <tharealjohn@gmail.com>
Co-authored-by: Maria N <maria.naggaga@live.ca>
Co-authored-by: Linda Li <zhuoqunli@microsoft.com>
Co-authored-by: foundry-samples-repo-sync[bot] <foundry-samples-repo-sync[bot]@users.noreply.github.com>
apurvagandhi pushed a commit to fidelity-contributions/azure-ai-foundry-foundry-samples that referenced this pull request Apr 29, 2026
…ty (microsoft-foundry#157)

The Foundry DataProxy's HttpProxyV1Controller routes requests through
/v1/https/{serviceName}/{**remainder} where the [Required] attribute on
the remainder parameter rejects empty strings. When the A2A agent card
URL uses root path (/), the remainder is empty, causing a 400 Bad Request
before the request is ever forwarded.

This change:
- Sets the agent card URL to /a2a instead of /
- Adds POST /a2a route (keeps POST / for backward compatibility)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.