refactor(session): remove request-scoped access grants (#5238)

This commit is contained in:
chengyongru authored and GitHub committed 2026-08-05 10:18:46 +08:00
1 parent 858f6d96a6
commit 6e9ae5bd05
12 files changed
+124 -230

No files matched your search

-4
View File
@@ -216,10 +216,6 @@ class Tool(ABC):
def create(cls, ctx: ToolContext) -> Tool:
return cls()
def available(self) -> bool:
"""Return whether this tool is available in the current request."""
return True
def runtime_context_provider(self) -> RuntimeContextProvider | None:
"""Return optional per-turn prompt context owned by this tool."""
return None