From 943c01536f51c2051d2b8ac5881b1270279382b2 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Mon, 13 Apr 2026 21:16:14 -0700 Subject: [PATCH] feat: add openrouter/elephant-alpha to curated model lists (#9378) * Add hermes debug share instructions to all issue templates - bug_report.yml: Add required Debug Report section with hermes debug share and /debug instructions, make OS/Python/Hermes version optional (covered by debug report), demote old logs field to optional supplementary - setup_help.yml: Replace hermes doctor reference with hermes debug share, add Debug Report section with fallback chain (debug share -> --local -> doctor) - feature_request.yml: Add optional Debug Report section for environment context All templates now guide users to run hermes debug share (or /debug in chat) and paste the resulting paste.rs links, giving maintainers system info, config, and recent logs in one step. * feat: add openrouter/elephant-alpha to curated model lists - Add to OPENROUTER_MODELS (free, positioned above GPT models) - Add to _PROVIDER_MODELS["nous"] mirror list - Add 256K context window fallback in model_metadata.py --- .github/ISSUE_TEMPLATE/bug_report.yml | 30 +++++++++++++++++----- .github/ISSUE_TEMPLATE/feature_request.yml | 12 +++++++++ .github/ISSUE_TEMPLATE/setup_help.yml | 20 ++++++++++++--- agent/model_metadata.py | 2 ++ hermes_cli/models.py | 2 ++ 5 files changed, 56 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 60a11e294..67a3f64aa 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -11,6 +11,7 @@ body: **Before submitting**, please: - [ ] Search [existing issues](https://github.com/NousResearch/hermes-agent/issues) to avoid duplicates - [ ] Update to the latest version (`hermes update`) and confirm the bug still exists + - [ ] Run `hermes debug share` and paste the links below (see Debug Report section) - type: textarea id: description @@ -82,6 +83,25 @@ body: - Slack - WhatsApp + - type: textarea + id: debug-report + attributes: + label: Debug Report + description: | + Run `hermes debug share` from your terminal and paste the links it prints here. + This uploads your system info, config, and recent logs to a paste service automatically. + + If you're in an interactive chat session, you can also use the `/debug` slash command — it does the same thing. + + If the upload fails, run `hermes debug share --local` and paste the output directly. + placeholder: | + Report https://paste.rs/abc123 + agent.log https://paste.rs/def456 + gateway.log https://paste.rs/ghi789 + render: shell + validations: + required: true + - type: input id: os attributes: @@ -97,8 +117,6 @@ body: label: Python Version description: Output of `python --version` placeholder: "3.11.9" - validations: - required: true - type: input id: hermes-version @@ -106,14 +124,14 @@ body: label: Hermes Version description: Output of `hermes version` placeholder: "2.1.0" - validations: - required: true - type: textarea id: logs attributes: - label: Relevant Logs / Traceback - description: Paste any error output, traceback, or log messages. This will be auto-formatted as code. + label: Additional Logs / Traceback (optional) + description: | + The debug report above covers most logs. Use this field for any extra error output, + tracebacks, or screenshots not captured by `hermes debug share`. render: shell - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 8dba7d43d..720cc8f1f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -71,3 +71,15 @@ body: label: Contribution options: - label: I'd like to implement this myself and submit a PR + + - type: textarea + id: debug-report + attributes: + label: Debug Report (optional) + description: | + If this feature request is related to a problem you're experiencing, run `hermes debug share` and paste the links here. + In an interactive chat session, you can use `/debug` instead. + This helps us understand your environment and any related logs. + placeholder: | + Report https://paste.rs/abc123 + render: shell diff --git a/.github/ISSUE_TEMPLATE/setup_help.yml b/.github/ISSUE_TEMPLATE/setup_help.yml index f13eea4a3..974181b5d 100644 --- a/.github/ISSUE_TEMPLATE/setup_help.yml +++ b/.github/ISSUE_TEMPLATE/setup_help.yml @@ -9,7 +9,8 @@ body: Sorry you're having trouble! Please fill out the details below so we can help. **Quick checks first:** - - Run `hermes doctor` and include the output below + - Run `hermes debug share` and paste the links in the Debug Report section below + - If you're in a chat session, you can use `/debug` instead — it does the same thing - Try `hermes update` to get the latest version - Check the [README troubleshooting section](https://github.com/NousResearch/hermes-agent#troubleshooting) - For general questions, consider the [Nous Research Discord](https://discord.gg/NousResearch) for faster help @@ -74,10 +75,21 @@ body: placeholder: "2.1.0" - type: textarea - id: doctor-output + id: debug-report attributes: - label: Output of `hermes doctor` - description: Run `hermes doctor` and paste the full output. This will be auto-formatted. + label: Debug Report + description: | + Run `hermes debug share` from your terminal and paste the links it prints here. + This uploads your system info, config, and recent logs to a paste service automatically. + + If you're in an interactive chat session, you can also use the `/debug` slash command — it does the same thing. + + If the upload fails or install didn't get that far, run `hermes debug share --local` and paste the output directly. + If even that doesn't work, run `hermes doctor` and paste that output instead. + placeholder: | + Report https://paste.rs/abc123 + agent.log https://paste.rs/def456 + gateway.log https://paste.rs/ghi789 render: shell - type: textarea diff --git a/agent/model_metadata.py b/agent/model_metadata.py index 842373c1e..3b5006648 100644 --- a/agent/model_metadata.py +++ b/agent/model_metadata.py @@ -156,6 +156,8 @@ DEFAULT_CONTEXT_LENGTHS = { "kimi": 262144, # Arcee "trinity": 262144, + # OpenRouter + "elephant": 262144, # Hugging Face Inference Providers — model IDs use org/name format "Qwen/Qwen3.5-397B-A17B": 131072, "Qwen/Qwen3.5-35B-A3B": 131072, diff --git a/hermes_cli/models.py b/hermes_cli/models.py index a0e021259..483d4a309 100644 --- a/hermes_cli/models.py +++ b/hermes_cli/models.py @@ -29,6 +29,7 @@ OPENROUTER_MODELS: list[tuple[str, str]] = [ ("qwen/qwen3.6-plus", ""), ("anthropic/claude-sonnet-4.5", ""), ("anthropic/claude-haiku-4.5", ""), + ("openrouter/elephant-alpha", "free"), ("openai/gpt-5.4", ""), ("openai/gpt-5.4-mini", ""), ("xiaomi/mimo-v2-pro", ""), @@ -97,6 +98,7 @@ _PROVIDER_MODELS: dict[str, list[str]] = { "arcee-ai/trinity-large-thinking", "openai/gpt-5.4-pro", "openai/gpt-5.4-nano", + "openrouter/elephant-alpha", ], "openai-codex": _codex_curated_models(), "copilot-acp": [