mirror of
https://github.com/hansjone/netx.git
synced 2026-10-18 15:00:45 +08:00
feat(mcp): tell skills which tools the token cannot call; cache skill descriptions
Also make the HTTP-error test independent of the developer .env token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
166d2289c3
commit
8f9a64a266
5 changed files with 101 additions and 15 deletions
|
|
@ -131,7 +131,7 @@ async def _on_list_resources(
|
|||
scopes, groups = _scopes_and_groups()
|
||||
resources: list[Resource] = []
|
||||
for sf in list_visible_skill_files(scopes, groups):
|
||||
d = resource_dict(sf)
|
||||
d = resource_dict(sf, scopes=scopes)
|
||||
resources.append(
|
||||
Resource(
|
||||
uri=d["uri"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue