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
Rename MaxPromptTokens to MaxInputTokens and clarify ProviderConfig docs
Renames the SDK-facing ProviderConfig field across all four languages while preserving the wire JSON key as maxPromptTokens:
- .NET: MaxPromptTokens -> MaxInputTokens (JsonPropertyName unchanged)
- Go: MaxPromptTokens -> MaxInputTokens (json tag unchanged)
- Python: max_prompt_tokens -> max_input_tokens (wire conversion in _convert_provider_to_wire_format unchanged)
- Node: maxPromptTokens -> maxInputTokens; adds a small toWireProviderConfig helper in client.ts that remaps the field before sending session.create / session.resume.
Also rewrites the doc comments for modelId, wireModel, maxInputTokens, and maxOutputTokens to make the priority order clear: WireModel falls back to ModelId falls back to SessionConfig.Model, and ModelId drives both runtime configuration lookup and the wire model when WireModel is unset.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments