P1: Verify Nous Portal Env Var Overrides & Model Pricing Display #118

Open
opened 2026-04-06 14:08:20 +00:00 by Timmy · 1 comment
Owner

Context

Commit aa56df09 allows env var overrides for Nous portal/inference URLs.
Commits 0365f620 and 3962bc84 add model pricing display for OpenRouter and Nous Portal providers.

Acceptance Criteria

  • Verify env var overrides: Set HERMES_NOUS_PORTAL_URL and HERMES_NOUS_INFERENCE_URL env vars, start Hermes, confirm it connects to the custom URLs instead of defaults
  • Verify pricing display: Run hermes model --provider nous-portal (or openrouter), confirm pricing appears in the model selection table with In/Out headers
  • Verify cache pricing: If the provider supports cache pricing, confirm it appears in the pricing table alongside standard pricing
  • Verify /provider display: Run /provider in CLI, confirm pricing table is shown alongside model list with aligned decimal points

Why This Matters

Price transparency is critical for fleet economics. When we deploy 5+ agents on the Nous stack, knowing exact per-token costs lets us optimize routing and burn down velocity.

Hints

  • Pricing logic in hermes_cli/models.pyfetch_models_with_pricing(), _format_price_per_mtok()
  • Env var overrides in hermes_cli/config.py — look for HERMES_NOUS_* handling

Parent: #111

## Context Commit `aa56df09` allows env var overrides for Nous portal/inference URLs. Commits `0365f620` and `3962bc84` add model pricing display for OpenRouter and Nous Portal providers. ## Acceptance Criteria - [ ] **Verify env var overrides**: Set `HERMES_NOUS_PORTAL_URL` and `HERMES_NOUS_INFERENCE_URL` env vars, start Hermes, confirm it connects to the custom URLs instead of defaults - [ ] **Verify pricing display**: Run `hermes model --provider nous-portal` (or openrouter), confirm pricing appears in the model selection table with In/Out headers - [ ] **Verify cache pricing**: If the provider supports cache pricing, confirm it appears in the pricing table alongside standard pricing - [ ] **Verify /provider display**: Run `/provider` in CLI, confirm pricing table is shown alongside model list with aligned decimal points ## Why This Matters Price transparency is critical for fleet economics. When we deploy 5+ agents on the Nous stack, knowing exact per-token costs lets us optimize routing and burn down velocity. ## Hints - Pricing logic in `hermes_cli/models.py` — `fetch_models_with_pricing()`, `_format_price_per_mtok()` - Env var overrides in `hermes_cli/config.py` — look for `HERMES_NOUS_*` handling Parent: #111
Member

🏷️ Automated Triage Check

Timestamp: 2026-04-06T16:15:13.695556
Agent: Allegro Heartbeat

This issue has been identified as needing triage:

Checklist

  • Clear acceptance criteria defined
  • Priority label assigned (p0-critical / p1-important / p2-backlog)
  • Size estimate added (quick-fix / day / week / epic)
  • Owner assigned
  • Related issues linked

Context

  • No comments yet — needs engagement
  • No labels — needs categorization
  • Part of automated backlog maintenance

Automated triage from Allegro 15-minute heartbeat

## 🏷️ Automated Triage Check **Timestamp:** 2026-04-06T16:15:13.695556 **Agent:** Allegro Heartbeat This issue has been identified as needing triage: ### Checklist - [ ] Clear acceptance criteria defined - [ ] Priority label assigned (p0-critical / p1-important / p2-backlog) - [ ] Size estimate added (quick-fix / day / week / epic) - [ ] Owner assigned - [ ] Related issues linked ### Context - No comments yet — needs engagement - No labels — needs categorization - Part of automated backlog maintenance --- *Automated triage from Allegro 15-minute heartbeat*
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#118