common

package
v6.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachDefaultSafetySettings

func AttachDefaultSafetySettings(rawJSON []byte, path string) []byte

AttachDefaultSafetySettings ensures the default safety settings are present when absent. The caller must provide the target JSON path (e.g. "safetySettings" or "request.safetySettings").

func DefaultSafetySettings

func DefaultSafetySettings() []map[string]string

DefaultSafetySettings returns the default Gemini safety configuration we attach to requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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