modelconfig

package
v7.2.106 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 8 Imported by: 0

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