gen-models

command
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Command gen-models reads upstream pi's catalog and emits ai/models_generated.go. Optional raw models.dev and OpenRouter API snapshots regenerate verified effort controls before emission.

Run via `go generate ./ai/...` or directly:

go run ./cmd/gen-models \
  -src .upstream/current/packages/ai/src/models.generated.ts \
  -out ai/models_generated.go

Jump to

Keyboard shortcuts

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