model

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package model reads a claude model name as typed: a family, a family and a version, or a full id. Only the families are known here; versions change too often to keep a list, so a wrong one is passed on for claude to refuse.

Index

Constants

This section is empty.

Variables

View Source
var Families = []string{"opus", "sonnet", "haiku", "fable"}

Families are the claude model families --model may name. A full `claude-` id of a family missing here still passes as typed.

Functions

func Resolve

func Resolve(raw string) (string, string, bool)

Resolve reads raw as a model name: the value to pass claude, a note when that differs from raw beyond case, and false when raw names no family.

Types

This section is empty.

Jump to

Keyboard shortcuts

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