geminicli

package
v6.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package geminicli implements thinking configuration for Gemini CLI API format.

Gemini CLI uses request.generationConfig.thinkingConfig.* path instead of generationConfig.thinkingConfig.* used by standard Gemini API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier struct{}

Applier applies thinking configuration for Gemini CLI API format.

func NewApplier

func NewApplier() *Applier

NewApplier creates a new Gemini CLI thinking applier.

func (*Applier) Apply

func (a *Applier) Apply(body []byte, config thinking.ThinkingConfig, modelInfo *registry.ModelInfo) ([]byte, error)

Apply applies thinking configuration to Gemini CLI request body.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL