Skip to content

Commit 2877bd6

Browse files
committed
fix: update quit_tool docstring to emphasize usage caution
Signed-off-by: Frost Ming <me@frostming.com>
1 parent 0ecb9a1 commit 2877bd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bub/builtin/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def show_help() -> str:
312312

313313
@tool(name="quit", context=True)
314314
async def quit_tool(*, context: ToolContext) -> str:
315-
"""Abort the tasks of the current session. Should not be used in a normal workflow."""
315+
"""Abort the tasks of the current session. DO NOT use it in a normal workflow."""
316316
agent = _get_agent(context)
317317
session_id = str(context.state.get("session_id", "temp/unknown"))
318318
await shell_manager.terminate_session(session_id)

0 commit comments

Comments
 (0)