refactor(session): remove request-scoped access grants (#5238)
This commit is contained in:
1 parent
858f6d96a6
commit
6e9ae5bd05
12 files changed
+124
-230
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user