Skip to content

Support thinking_config in GenerationConfig #514

Open

Description

@devonthomas35

Gemini Flash Python API has a new argument for GenerationConfig

Here is python library example

generate_content_config = types.GenerateContentConfig(
    thinking_config=types.ThinkingConfig(
      thinking_budget=14029,
    ),
  )

Activity

  1. added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Apr 18, 2025
  2. archasek commented on Apr 23, 2025

    @archasek

    yeah, waiting for it :)

  3. aashahin commented on May 6, 2025

    @aashahin

    .

  4. julian-strafe commented on May 26, 2025

    @julian-strafe

    I just made google some extra money because this wasn't enabled 😅

  5. baublet commented on Jun 23, 2025

    @baublet

    Ping. Still waiting for this 😭

  6. blaesus commented on Jun 23, 2025

    @blaesus

    In case this is useful, Google Gen AI SDK (not this one) has a vertex mode and think_config: https://googleapis.github.io/python-genai/genai.html#genai.types.GenerateContentConfig.thinking_config
    (We use the Node.js version and managed to call model in Vertex while setting thinking budget.)

  7. MocA-Love commented on Jun 24, 2025

    @MocA-Love

    I want this library to support it!!!!!!!!!!!!!!!!!

  8. jan-stehlik commented on Jul 15, 2025

    @jan-stehlik

    +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: aiplatformIssues related to the googleapis/nodejs-agentplatform API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions