Skip to content

fix(api): drop revert-lost include_editorial kwarg from /v1/skills handler - #115681

Closed
trevor-commits wants to merge 1 commit into
NousResearch:mainfrom
trevor-commits:fix-skills-include-editorial
Closed

trevor-commits wants to merge 1 commit into
NousResearch:mainfrom
trevor-commits:fix-skills-include-editorial

Conversation

@trevor-commits

Copy link
Copy Markdown

One-line fix for the incomplete Collective Wisdom revert 0dcadf6.

Problem: the revert removed include_editorial from tools/skills_tool.py::_find_all_skills
but missed the caller in gateway/platforms/api_server.py::_handle_skills (GET /v1/skills).
Every authenticated GET /v1/skills raises
TypeError: _find_all_skills() got an unexpected keyword argument 'include_editorial' -> HTTP 500.

Repro: enable the API server, then
curl -H 'Authorization: Bearer <key>' http://host:8642/v1/skills -> 500.

Fix: drop the stale kwarg at the call site.

Verified locally: pytest tests/gateway/test_api_server.py -> 119 passed;
endpoint returns 200 with the skill list.

…ndler

The Collective Wisdom revert (0dcadf6) removed the include_editorial
parameter from _find_all_skills but missed the GET /v1/skills caller in
gateway/platforms/api_server.py. Every authenticated GET /v1/skills raised
TypeError -> HTTP 500.

Verified locally: pytest tests/gateway/test_api_server.py 119 passed;
endpoint returns 200 with the skill list.
@whyyagswhy

Copy link
Copy Markdown

Independent verification on the PR head (9e6da77): api-server suite 119/119 green on Linux. Dropping the revert-lost kwarg keeps the handler honest: it no longer passes an argument the callee never accepted. One-line revert repair, no behavior change beyond un-breaking the call. No findings.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery tool/skills Skills system (list, view, manage) duplicate This issue or pull request already exists labels Sep 19, 2026
@trevor-commits
trevor-commits deleted the fix-skills-include-editorial branch September 23, 2026 00:02
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists tool/skills Skills system (list, view, manage) type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants