Files
2026-07-13 12:28:55 +08:00

21 lines
781 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Helicone Models
Generate model TOMLs from Helicones public registry.
Prerequisites
- Install Bun: https://bun.sh
Commands
- Generate files: `bun run helicone:generate`
- Validate configs: `bun validate`
Details
- Source endpoint: `https://jawn.helicone.ai/v1/public/model-registry/models`
- Output path: `providers/helicone/models/<model-id>.toml` (flat, no provider folders)
- Dates: `release_date`/`last_updated` use `YYYY-MM-DD`; `knowledge` uses `YYYY-MM`.
- Pricing: writes `cost.reasoning` only when `reasoning = true`.
- Modalities: sanitized to `["text", "audio", "image", "video", "pdf"]`.
Notes
- The generator cleans the output folder before writing: removes any nested provider folders and existing TOML files to keep Model IDs flat (e.g., `claude-3.5-haiku`).