| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…lpers Mirrors OpenAIResponsesHostingLiveTests with the hosted agent backed by an Anthropic chat client, confirming the app-owned hosting helper surface (OpenAIResponses + AgentSessionStore) is provider-agnostic end to end. Skipped unless ANTHROPIC_API_KEY is configured. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
@microsoft-github-policy-service agree |
Sorry, something went wrong.
The Anthropic-backed Responses-hosting live tests existed in three places at once. Two of them are better than this one: - microsoft/agent-framework#7362 folds the same two tests into the existing Microsoft.Agents.AI.Hosting.OpenAI.IntegrationTests project, next to the OpenAI variant they mirror, using upstream's injected TestSettings and the cheap claude-haiku-4-5 default. Approved, CI green. - ANcpLua/TUnit-1.61.38 carries the TUnit port, which is the live .NET testing reference for the workspace. This copy was the weakest of the three: xUnit v3 on a parked repo, with TestSettings vendored as a trimmed subset of upstream's shared file, and four package references carried solely for it. DotNetTests keeps its value as the six-way framework comparison; it does not need a third copy of these tests. Suite is 10/10 green after the removal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…onical copy These two live tests (non-streaming Responses render, multi-turn session continuity over AgentSessionStore, both Anthropic-backed) existed in three places at once. The upstream one is better than either local copy: - It sits in Microsoft.Agents.AI.Hosting.OpenAI.IntegrationTests, directly beside the OpenAI variant it mirrors, so the provider-agnostic claim about the Responses hosting surface is visible as a pair rather than asserted in a fork. - It uses upstream's MSBuild-injected TestSettings instead of a vendored trim of it, and defaults to claude-haiku-4-5 rather than claude-opus-5. - It is a two-file diff against upstream, approved with CI green. This copy carried the whole Microsoft.Agents.AI + Anthropic + Hosting + Hosting.OpenAI package set into a test-patterns playground for one folder, and the vendored TestSettings could only ever drift from the real one. AdvancedPatterns keeps the five deterministic pattern folders it is actually for; the live-service exception belongs upstream. Suite is 10/10 green after the removal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…contained copy Alex restored the two Anthropic-backed live tests (Responses render, session continuity) alongside the upstream microsoft/agent-framework#7362 copy. Build clean; suite 12 tests: 10 pass, 2 live tests skip without ANTHROPIC_API_KEY. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Motivation & Context
#7000 introduced the app-owned hosting helper surface (OpenAIResponses plus AgentSessionStore) and covered it with an OpenAI-backed live test (OpenAIResponsesHostingLiveTests). The helper surface is provider-agnostic by design, but no test currently exercises it with a non-OpenAI backend. This PR adds the Anthropic-backed variant so the same consumption paths are confirmed end to end against a second provider.
Description & Review Guide
Related Issue
N/A — small test-only addition; no new APIs or behavior changes.
Contribution Checklist
🤖 Generated with Claude Code