hyperhive/frontend/packages/agent
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 1f54a07195 feat(agent): read available models from HIVE_AVAILABLE_MODELS env var
web_ui.rs: add available_models() helper that reads HIVE_AVAILABLE_MODELS
(comma-separated, injected by services.hyperhive.availableModels nix option).
Falls back to ["haiku", "sonnet", "opus"] when absent or empty. Field added
to StateSnapshot so the frontend receives the list on cold-load.

app.js: replace hardcoded MODEL_ALIASES array with availableModels module var.
Seeded from state.available_models before setHeader/populateOverflowMenu on
first /api/state load. Well-known aliases (haiku/sonnet/opus) still get their
descriptive labels; operator-declared custom model names show the name itself.

Implements the frontend + web_ui.rs side of issue #1359 (nix option shipped
separately in PR #1360 by atlas).
2026-06-05 13:48:03 +02:00
..
src feat(agent): read available models from HIVE_AVAILABLE_MODELS env var 2026-06-05 13:48:03 +02:00
build.mjs frontend: nest asset output under dist/static/ 2026-05-23 14:51:01 +02:00
package.json frontend: npm dependency updates (#681) 2026-05-31 01:29:35 +02:00