refactor(indentation): Apply codebase-wide 1-space ultra-compact refactor. Formatted 21 core modules and tests.
This commit is contained in:
@@ -15,15 +15,14 @@ def test_api_ask_client_method(live_gui) -> None:
|
||||
|
||||
def make_blocking_request() -> None:
|
||||
try:
|
||||
# This call should block until we respond
|
||||
# This call should block until we respond
|
||||
results["response"] = client.request_confirmation(
|
||||
tool_name="powershell",
|
||||
args={"command": "echo hello"}
|
||||
)
|
||||
except Exception as e:
|
||||
results["error"] = str(e)
|
||||
|
||||
# Start the request in a background thread
|
||||
# Start the request in a background thread
|
||||
t = threading.Thread(target=make_blocking_request)
|
||||
t.start()
|
||||
# Poll for the 'ask_received' event
|
||||
|
||||
Reference in New Issue
Block a user