feat: add claude-opus-4.7 to Nous Portal model list#11398
Merged
Conversation
Mirrors OpenRouter which already lists anthropic/claude-opus-4.7 as recommended. Surfaces the model in the `hermes model` picker and the gateway /model flow for Nous Portal users. Context length (1M) is already covered by the existing claude-opus-4.7 entry in agent/model_metadata.py DEFAULT_CONTEXT_LENGTHS.
teknium1
added a commit
that referenced
this pull request
Apr 17, 2026
Three tests in tests/test_plugin_skills.py and tests/hermes_cli/test_plugins.py used caplog.at_level(logging.WARNING) without specifying a logger. When another test earlier in the same xdist worker touched propagation on tools.skills_tool or hermes_cli.plugins, caplog would miss the warning and the assertion would fail intermittently in CI. These three tests accounted for 15 of the last ~30 Tests workflow failures (5 each), including the recent main failure on commit 436a735 (PR #11398). Fix: pass logger="tools.skills_tool" / logger="hermes_cli.plugins" to caplog.at_level() so the handler attaches directly to the logger under test and capture is independent of global propagation state. Affected tests: - tests/test_plugin_skills.py::TestSkillViewPluginGuards::test_injection_logged_but_served - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_empty_name_rejected - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_builtin_conflict_rejected No production code change. Verified passing under xdist (-n 4) alongside test_hermes_logging.py (the test most likely to poison the logger state).
teknium1
added a commit
that referenced
this pull request
Apr 17, 2026
…ts (#11453) Three tests in tests/test_plugin_skills.py and tests/hermes_cli/test_plugins.py used caplog.at_level(logging.WARNING) without specifying a logger. When another test earlier in the same xdist worker touched propagation on tools.skills_tool or hermes_cli.plugins, caplog would miss the warning and the assertion would fail intermittently in CI. These three tests accounted for 15 of the last ~30 Tests workflow failures (5 each), including the recent main failure on commit 436a735 (PR #11398). Fix: pass logger="tools.skills_tool" / logger="hermes_cli.plugins" to caplog.at_level() so the handler attaches directly to the logger under test and capture is independent of global propagation state. Affected tests: - tests/test_plugin_skills.py::TestSkillViewPluginGuards::test_injection_logged_but_served - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_empty_name_rejected - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_builtin_conflict_rejected No production code change. Verified passing under xdist (-n 4) alongside test_hermes_logging.py (the test most likely to poison the logger state).
ulasbilgen
pushed a commit
to ulasbilgen/hermes-adhd-agent
that referenced
this pull request
May 1, 2026
…arch#11398) Mirrors OpenRouter which already lists anthropic/claude-opus-4.7 as recommended. Surfaces the model in the `hermes model` picker and the gateway /model flow for Nous Portal users. Context length (1M) is already covered by the existing claude-opus-4.7 entry in agent/model_metadata.py DEFAULT_CONTEXT_LENGTHS.
ulasbilgen
pushed a commit
to ulasbilgen/hermes-adhd-agent
that referenced
this pull request
May 1, 2026
…ts (NousResearch#11453) Three tests in tests/test_plugin_skills.py and tests/hermes_cli/test_plugins.py used caplog.at_level(logging.WARNING) without specifying a logger. When another test earlier in the same xdist worker touched propagation on tools.skills_tool or hermes_cli.plugins, caplog would miss the warning and the assertion would fail intermittently in CI. These three tests accounted for 15 of the last ~30 Tests workflow failures (5 each), including the recent main failure on commit f24e952 (PR NousResearch#11398). Fix: pass logger="tools.skills_tool" / logger="hermes_cli.plugins" to caplog.at_level() so the handler attaches directly to the logger under test and capture is independent of global propagation state. Affected tests: - tests/test_plugin_skills.py::TestSkillViewPluginGuards::test_injection_logged_but_served - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_empty_name_rejected - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_builtin_conflict_rejected No production code change. Verified passing under xdist (-n 4) alongside test_hermes_logging.py (the test most likely to poison the logger state).
aj-nt
pushed a commit
to aj-nt/hermes-agent
that referenced
this pull request
May 1, 2026
…arch#11398) Mirrors OpenRouter which already lists anthropic/claude-opus-4.7 as recommended. Surfaces the model in the `hermes model` picker and the gateway /model flow for Nous Portal users. Context length (1M) is already covered by the existing claude-opus-4.7 entry in agent/model_metadata.py DEFAULT_CONTEXT_LENGTHS.
aj-nt
pushed a commit
to aj-nt/hermes-agent
that referenced
this pull request
May 1, 2026
…ts (NousResearch#11453) Three tests in tests/test_plugin_skills.py and tests/hermes_cli/test_plugins.py used caplog.at_level(logging.WARNING) without specifying a logger. When another test earlier in the same xdist worker touched propagation on tools.skills_tool or hermes_cli.plugins, caplog would miss the warning and the assertion would fail intermittently in CI. These three tests accounted for 15 of the last ~30 Tests workflow failures (5 each), including the recent main failure on commit ebb8b9b (PR NousResearch#11398). Fix: pass logger="tools.skills_tool" / logger="hermes_cli.plugins" to caplog.at_level() so the handler attaches directly to the logger under test and capture is independent of global propagation state. Affected tests: - tests/test_plugin_skills.py::TestSkillViewPluginGuards::test_injection_logged_but_served - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_empty_name_rejected - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_builtin_conflict_rejected No production code change. Verified passing under xdist (-n 4) alongside test_hermes_logging.py (the test most likely to poison the logger state).
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
…arch#11398) Mirrors OpenRouter which already lists anthropic/claude-opus-4.7 as recommended. Surfaces the model in the `hermes model` picker and the gateway /model flow for Nous Portal users. Context length (1M) is already covered by the existing claude-opus-4.7 entry in agent/model_metadata.py DEFAULT_CONTEXT_LENGTHS.
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
…ts (NousResearch#11453) Three tests in tests/test_plugin_skills.py and tests/hermes_cli/test_plugins.py used caplog.at_level(logging.WARNING) without specifying a logger. When another test earlier in the same xdist worker touched propagation on tools.skills_tool or hermes_cli.plugins, caplog would miss the warning and the assertion would fail intermittently in CI. These three tests accounted for 15 of the last ~30 Tests workflow failures (5 each), including the recent main failure on commit 436a735 (PR NousResearch#11398). Fix: pass logger="tools.skills_tool" / logger="hermes_cli.plugins" to caplog.at_level() so the handler attaches directly to the logger under test and capture is independent of global propagation state. Affected tests: - tests/test_plugin_skills.py::TestSkillViewPluginGuards::test_injection_logged_but_served - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_empty_name_rejected - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_builtin_conflict_rejected No production code change. Verified passing under xdist (-n 4) alongside test_hermes_logging.py (the test most likely to poison the logger state).
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
…arch#11398) Mirrors OpenRouter which already lists anthropic/claude-opus-4.7 as recommended. Surfaces the model in the `hermes model` picker and the gateway /model flow for Nous Portal users. Context length (1M) is already covered by the existing claude-opus-4.7 entry in agent/model_metadata.py DEFAULT_CONTEXT_LENGTHS.
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
…ts (NousResearch#11453) Three tests in tests/test_plugin_skills.py and tests/hermes_cli/test_plugins.py used caplog.at_level(logging.WARNING) without specifying a logger. When another test earlier in the same xdist worker touched propagation on tools.skills_tool or hermes_cli.plugins, caplog would miss the warning and the assertion would fail intermittently in CI. These three tests accounted for 15 of the last ~30 Tests workflow failures (5 each), including the recent main failure on commit 436a735 (PR NousResearch#11398). Fix: pass logger="tools.skills_tool" / logger="hermes_cli.plugins" to caplog.at_level() so the handler attaches directly to the logger under test and capture is independent of global propagation state. Affected tests: - tests/test_plugin_skills.py::TestSkillViewPluginGuards::test_injection_logged_but_served - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_empty_name_rejected - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_builtin_conflict_rejected No production code change. Verified passing under xdist (-n 4) alongside test_hermes_logging.py (the test most likely to poison the logger state).
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
…arch#11398) Mirrors OpenRouter which already lists anthropic/claude-opus-4.7 as recommended. Surfaces the model in the `hermes model` picker and the gateway /model flow for Nous Portal users. Context length (1M) is already covered by the existing claude-opus-4.7 entry in agent/model_metadata.py DEFAULT_CONTEXT_LENGTHS.
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
…ts (NousResearch#11453) Three tests in tests/test_plugin_skills.py and tests/hermes_cli/test_plugins.py used caplog.at_level(logging.WARNING) without specifying a logger. When another test earlier in the same xdist worker touched propagation on tools.skills_tool or hermes_cli.plugins, caplog would miss the warning and the assertion would fail intermittently in CI. These three tests accounted for 15 of the last ~30 Tests workflow failures (5 each), including the recent main failure on commit 4ec914f (PR NousResearch#11398). Fix: pass logger="tools.skills_tool" / logger="hermes_cli.plugins" to caplog.at_level() so the handler attaches directly to the logger under test and capture is independent of global propagation state. Affected tests: - tests/test_plugin_skills.py::TestSkillViewPluginGuards::test_injection_logged_but_served - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_empty_name_rejected - tests/hermes_cli/test_plugins.py::TestPluginCommands::test_register_command_builtin_conflict_rejected No production code change. Verified passing under xdist (-n 4) alongside test_hermes_logging.py (the test most likely to poison the logger state).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
anthropic/claude-opus-4.7to the curated Nous Portal model list inhermes_cli/models.py, mirroring the OpenRouter list where 4.7 is already listed as the recommended model.Surfaces the model in:
hermes modelpicker (Nous Portal flow)/modelcommand for Nous usersNotes
claude-opus-4.7entry inagent/model_metadata.pyDEFAULT_CONTEXT_LENGTHS, so fuzzy substring matching againstanthropic/claude-opus-4.7resolves correctly.Test plan