You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop unverifiable max_tokens assertion from BYOK wire model E2E test
The OpenAI BYOK provider code path in the CLI does not echo the
configured maxOutputTokens as max_tokens on the wire request body
(it's used internally for token budgeting and only appears on
Anthropic-style requests). The new wire model E2E test asserted on
max_tokens in the captured chat completion request, which always
returned undefined/nil and failed across all four SDKs.
Rename the test to `should forward provider wire model'' and drop
the wire-side max_tokens assertion. The test still sets
maxOutputTokens to confirm the SDK serializes the field without
errors; per-SDK unit tests already cover ProviderConfig serialization
in detail. Also drop the now-unused MaxTokens field from the Go and
.NET harness ChatCompletionRequest types.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments