Skip to content

Fix AgentServer response model contracts#44758

Draft
Shivakishore14 wants to merge 2 commits into
feature/foundry-releasefrom
sshiva/agentserver-responses-contract-cleanup-foundry-release
Draft

Fix AgentServer response model contracts#44758
Shivakishore14 wants to merge 2 commits into
feature/foundry-releasefrom
sshiva/agentserver-responses-contract-cleanup-foundry-release

Conversation

@Shivakishore14

Copy link
Copy Markdown
Member

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-emitter completed 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-emitter completed with warnings only.

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
@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown

Next Steps to Merge

Important 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:
  • ⚠️ The check named SDK Validation Status has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

@github-actions github-actions Bot added data-plane TypeSpec Authored with TypeSpec labels Jul 17, 2026
@Shivakishore14
Shivakishore14 force-pushed the sshiva/agentserver-responses-contract-cleanup-foundry-release branch 2 times, most recently from 544e6a4 to 6a89853 Compare July 17, 2026 07:20
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
Shivakishore14 force-pushed the sshiva/agentserver-responses-contract-cleanup-foundry-release branch from 6a89853 to 02edbae Compare July 17, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-plane TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant