Fix AgentServer response model contracts#44758
Draft
Shivakishore14 wants to merge 2 commits into
Draft
Conversation
Update the AgentServer client contract to keep OpenAI-compatible message input shorthand while removing stale custom tool output decorators. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ead3de5-a3b3-4d3a-bf93-a4ee397d7498
Next Steps to MergeImportant checks have failed. As of today they are not blocking this PR, but in near future they may.Addressing the following failures is highly recommended:
Comment generated by summarize-checks workflow run. |
Shivakishore14
force-pushed
the
sshiva/agentserver-responses-contract-cleanup-foundry-release
branch
2 times, most recently
from
July 17, 2026 07:20
544e6a4 to
6a89853
Compare
Add the incremental Foundry TypeSpec validation suppression that matches the existing full-validation suppression, and add an AutoRest-style readme for the SDK-only AgentServer contracts folder so Avocado can resolve a nearest readme.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4ead3de5-a3b3-4d3a-bf93-a4ee397d7498
Shivakishore14
force-pushed
the
sshiva/agentserver-responses-contract-cleanup-foundry-release
branch
from
July 17, 2026 07:32
6a89853 to
02edbae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Retargets the AgentServer response model contract fixes from the main-targeted draft PR to feature/foundry-release.\n\nChanges:\n- Removes stale OpenAI ItemCustomToolCallOutput C# customizations that no longer resolve.\n- Restores the AgentServer response input content override for SDK response creation payloads.\n- Adds Foundry readme files and TypeSpec validation suppression needed for the SDK-only contracts folder.\n\nLocal validation:\n- C# emitter:
npx tsp compile specification/ai-foundry/data-plane/Foundry/src/sdk-csharp-azure-ai-agent-contracts/client.tsp --emit @typespec/http-client-csharp --output-dir /tmp/foundry-csharp-emittercompleted with warnings only.\n- Python emitter:npx tsp compile specification/ai-foundry/data-plane/Foundry/src/sdk-python-js-azure-ai-projects/client.tsp --emit @azure-tools/typespec-python --output-dir /tmp/foundry-python-emittercompleted with warnings only.