Skip to content

.Net: Python: New Feature: Add thinking_level to Gemini connector #13955

@markmcd

Description

@markmcd

name: Add thinking_level to Gemini Python connector
about: Allow users to specify thinking levels


Gemini 3+ models support specifying thinking_level, which gives users control over their token and latency budgets.

Older models support a thinking_budget instead, but for simplicity I am proposing only support for the latest feature.

The .NET library seems to support this already:

[JsonPropertyName("thinking_level")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ThinkingLevel { get; set; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codepythonPull requests for the Python Semantic Kerneltriage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions