modelconfig

package
v8.0.79 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeClaudeModelsHash

func ComputeClaudeModelsHash(models []config.ClaudeModel) string

ComputeClaudeModelsHash returns a stable hash for Claude model aliases.

func ComputeCodexModelsHash

func ComputeCodexModelsHash(models []config.CodexModel) string

ComputeCodexModelsHash returns a stable hash for Codex model aliases.

func ComputeGeminiModelsHash

func ComputeGeminiModelsHash(models []config.GeminiModel) string

ComputeGeminiModelsHash returns a stable hash for Gemini model aliases.

func ComputeOpenAICompatModelsHash

func ComputeOpenAICompatModelsHash(models []config.OpenAICompatibilityModel) string

ComputeOpenAICompatModelsHash returns a stable hash for OpenAI-compatible models.

func ComputeVertexCompatModelsHash

func ComputeVertexCompatModelsHash(models []config.VertexCompatModel) string

ComputeVertexCompatModelsHash returns a stable hash for Vertex-compatible models.

func NormalizeThinkingSupport

func NormalizeThinkingSupport(raw *registry.ThinkingSupport) *registry.ThinkingSupport

NormalizeThinkingSupport clones and normalizes configured reasoning levels.

func ResolveModelInfo

func ResolveModelInfo(name, modelType string, support *registry.ThinkingSupport) *registry.ModelInfo

ResolveModelInfo returns a private capability snapshot for a configured model. Static capabilities come from the suffix-free upstream name, while explicit configuration takes precedence.

Types

This section is empty.

Jump to

Keyboard shortcuts

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