Skip to content

Commit 7f06005

Browse files
Google Team Membercopybara-github
authored andcommitted
feat(dotnet): expand implicit union conversions and mark Interactions types partial
Expand implicit conversion operators across Interactions union models—including nested union member conversions (such as passing `TextContent` or `ImageContent` directly to `InteractionsInput`, or `TextResponseFormat` directly to `CreateModelInteractionResponseFormat` and `CreateAgentInteractionResponseFormat`), `string` to `Step` (`UserInputStep`), and null-propagating (`[NotNullIfNotNull]`) conversions—and declare Interactions model, client, and exception types as `partial`. PiperOrigin-RevId: 1013922181
1 parent 8d99334 commit 7f06005

19 files changed

Lines changed: 260 additions & 30 deletions

‎.github/workflows/ci.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
contents: read
1111

1212
env:
13-
SPEAKEASY_VERSION: v2.959.1
13+
SPEAKEASY_VERSION: v2.960.7
1414

1515
jobs:
1616
non-live-validation:

‎internal/cli/custom/custom_test.go‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,4 +2563,3 @@ func TestMergeMediaBlocksIntoInput(t *testing.T) {
25632563
})
25642564
}
25652565
}
2566-

‎internal/output/agentmode.go‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/output/artifact.go‎

Lines changed: 12 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/output/artifact_test.go‎

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/output/async.go‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/output/classify.go‎

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/output/exitcodes.go‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/output/outcome.go‎

Lines changed: 26 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/output/output.go‎

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)