classifyFeatured (agents/model-featured.ts)

bitterbot-desktop · src/agents/model-featured.ts · typescript · MIT
ai

Classifies model provider/id pairs as featured, tiered, and default for menu promotion.

// Source: https://github.com/Bitterbot-AI/bitterbot-desktop | License: MIT | Copyright 2025-2026 Victor Michael Gil / Bitterbot AI
// Provided via justclaw.it.com; keep this notice with the code.
// The curated "featured" model set — the lean, defensible menu Bitterbot
// surfaces first, on top of the full live-discovered catalog. Discovery decides
// which models EXIST; this decides which we recommend and how we tier them.
//
// It is an overlay, not a filter: a model that matches no rule is still
// selectable (search + "show all"), it just isn't promoted. Rules that name a
// provider the node hasn't configured simply never match, so the featured menu
// lights up tier-by-tier as providers are added.
//
// Matching is by lowercased provider + id prefix so it survives the exact IDs a
//

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key