Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4653738
Add modelCapabilities override to Node SDK
SteveSandersonMS Apr 6, 2026
a2484dc
Add modelCapabilities override to all SDK languages
SteveSandersonMS Apr 6, 2026
2e943bf
Update to latest release and re-run codegen
SteveSandersonMS Apr 7, 2026
d189c79
Address PR review: use LINQ in C# test, fix formatting and lint
SteveSandersonMS Apr 7, 2026
cd5244c
Fix: forward modelCapabilities in Node.js resumeSession path
SteveSandersonMS Apr 7, 2026
62bf520
Fix Go formatting (gofmt)
SteveSandersonMS Apr 7, 2026
8d1af43
Revert Go session events regeneration to avoid breaking change
SteveSandersonMS Apr 7, 2026
9ec25ef
Regenerate all codegen including session events, fix Go DataContent
SteveSandersonMS Apr 7, 2026
f60b67c
Fix E2E test failures: replace fake-test-model, regenerate snapshots
SteveSandersonMS Apr 7, 2026
d895ad6
Fix C# test method names to match shared snapshot filenames
SteveSandersonMS Apr 7, 2026
e98a2c7
Fix fake-test-model in all languages, regenerate snapshots
SteveSandersonMS Apr 7, 2026
49f43fb
Add diagnostic logging to proxy snapshot mismatch errors
SteveSandersonMS Apr 7, 2026
21f0661
Add raw message content to proxy mismatch diagnostics
SteveSandersonMS Apr 7, 2026
be073f2
Fix proxy normalization for array-content user messages
SteveSandersonMS Apr 7, 2026
241b8d8
Fix test isolation: use sendAndWait in blob/attachment tests
SteveSandersonMS Apr 7, 2026
924ebbd
fix: write blob image to disk so model can view it
SteveSandersonMS Apr 7, 2026
400dae4
refactor: clean up proxy match-failure diagnostics for long-term use
SteveSandersonMS Apr 7, 2026
0b51a4d
fix: address PR review comments
SteveSandersonMS Apr 7, 2026
b81febb
fix: exclude arrays from DeepPartial recursion
SteveSandersonMS Apr 7, 2026
b089e0c
fix: use SendAndWait for blob tests in C#/Go/Python
SteveSandersonMS Apr 7, 2026
cf948da
fix: write blob PNG to disk in C#/Go/Python blob tests
SteveSandersonMS Apr 7, 2026
54cbab2
revert: undo unrelated Go scenario changes from codegen
SteveSandersonMS Apr 7, 2026
852c082
revert: restore generated_session_events.go to main
SteveSandersonMS Apr 7, 2026
0606475
revert: restore Go E2E tests that used DataContent.String
SteveSandersonMS Apr 7, 2026
a84b369
fix: revert .Content.String back to .Content in Go E2E tests
SteveSandersonMS Apr 7, 2026
09f7cee
ci: temporarily skip codegen check for this branch
SteveSandersonMS Apr 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert: undo unrelated Go scenario changes from codegen
These Content→Content.String changes came from session events codegen
regeneration and are unrelated to the model capabilities PR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • Loading branch information
SteveSandersonMS and Copilot committed Apr 7, 2026
commit 54cbab28a7e095827e5a04a88b5be1cbc5b94084
2 changes: 1 addition & 1 deletion test/scenarios/auth/byok-anthropic/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/auth/byok-azure/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/auth/byok-ollama/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/auth/byok-openai/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/auth/gh-app/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,6 @@ func main() {
log.Fatal(err)
}
if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/bundling/app-backend-to-server/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func chatHandler(w http.ResponseWriter, r *http.Request) {
}

if response != nil && response.Data.Content != nil {
writeJSON(w, http.StatusOK, chatResponse{Response: *response.Data.Content.String})
writeJSON(w, http.StatusOK, chatResponse{Response: *response.Data.Content})
} else {
writeJSON(w, http.StatusBadGateway, chatResponse{Error: "No response content from Copilot CLI"})
}
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/bundling/app-direct-server/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/bundling/container-proxy/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/bundling/fully-bundled/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/callbacks/hooks/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}

fmt.Println("\n--- Hook execution log ---")
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/callbacks/permissions/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}

fmt.Println("\n--- Permission request log ---")
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/callbacks/user-input/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}

fmt.Println("\n--- User input log ---")
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/modes/default/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Printf("Response: %s\n", *response.Data.Content.String)
fmt.Printf("Response: %s\n", *response.Data.Content)
}

fmt.Println("Default mode test complete")
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/modes/minimal/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Printf("Response: %s\n", *response.Data.Content.String)
fmt.Printf("Response: %s\n", *response.Data.Content)
}

fmt.Println("Minimal mode test complete")
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/prompts/attachments/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/prompts/reasoning-effort/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ func main() {

if response != nil && response.Data.Content != nil {
fmt.Println("Reasoning effort: low")
fmt.Printf("Response: %s\n", *response.Data.Content.String)
fmt.Printf("Response: %s\n", *response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/prompts/system-message/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
4 changes: 2 additions & 2 deletions test/scenarios/sessions/concurrent-sessions/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func main() {
log.Fatal(err)
}
if resp != nil && resp.Data.Content != nil {
results[0] = result{label: "Session 1 (pirate)", content: *resp.Data.Content.String}
results[0] = result{label: "Session 1 (pirate)", content: *resp.Data.Content}
}
}()
go func() {
Expand All @@ -80,7 +80,7 @@ func main() {
log.Fatal(err)
}
if resp != nil && resp.Data.Content != nil {
results[1] = result{label: "Session 2 (robot)", content: *resp.Data.Content.String}
results[1] = result{label: "Session 2 (robot)", content: *resp.Data.Content}
}
}()
wg.Wait()
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/sessions/infinite-sessions/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {
}
if response != nil && response.Data.Content != nil {
fmt.Printf("Q: %s\n", prompt)
fmt.Printf("A: %s\n\n", *response.Data.Content.String)
fmt.Printf("A: %s\n\n", *response.Data.Content)
}
}

Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/sessions/session-resume/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/sessions/streaming/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
fmt.Printf("\nStreaming chunks received: %d\n", chunkCount)
}
2 changes: 1 addition & 1 deletion test/scenarios/tools/custom-agents/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/tools/mcp-servers/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}

if len(mcpServers) > 0 {
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/tools/no-tools/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/tools/skills/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}

fmt.Println("\nSkill directories configured successfully")
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/tools/tool-filtering/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/tools/tool-overrides/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/tools/virtual-filesystem/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}

// Dump the virtual filesystem to prove nothing touched disk
Expand Down
4 changes: 2 additions & 2 deletions test/scenarios/transport/reconnect/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func main() {
}

if response1 != nil && response1.Data.Content != nil {
fmt.Println(*response1.Data.Content.String)
fmt.Println(*response1.Data.Content)
} else {
log.Fatal("No response content received for session 1")
}
Expand All @@ -64,7 +64,7 @@ func main() {
}

if response2 != nil && response2.Data.Content != nil {
fmt.Println(*response2.Data.Content.String)
fmt.Println(*response2.Data.Content)
} else {
log.Fatal("No response content received for session 2")
}
Expand Down
2 changes: 1 addition & 1 deletion test/scenarios/transport/stdio/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
2 changes: 1 addition & 1 deletion test/scenarios/transport/tcp/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ func main() {
}

if response != nil && response.Data.Content != nil {
fmt.Println(*response.Data.Content.String)
fmt.Println(*response.Data.Content)
}
}
Loading