Skip to content

fix(api_server): load reasoning config#13076

Open
mysoul12138 wants to merge 1 commit into
NousResearch:mainfrom
mysoul12138:api-server-reasoning-config
Open

fix(api_server): load reasoning config#13076
mysoul12138 wants to merge 1 commit into
NousResearch:mainfrom
mysoul12138:api-server-reasoning-config

Conversation

@mysoul12138

Copy link
Copy Markdown

What changed

  • Load reasoning_config in gateway/platforms/api_server.py and pass it into AIAgent.
  • Fix the GatewayRunner import order so the config load does not hit UnboundLocalError.

Why

Hermes-web-ui initiated API-server sessions were not honoring config.yaml's reasoning_effort setting.

Validation

  • python3 -m py_compile gateway/platforms/api_server.py

@mysoul12138 mysoul12138 marked this pull request as ready for review April 21, 2026 06:23
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery area/config Config system, migrations, profiles labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants