From a1a0666e9c037978542a80ac0504ec42eb288e9c Mon Sep 17 00:00:00 2001 From: Himanshu Date: Thu, 11 Sep 2025 22:52:17 +0530 Subject: [PATCH] docs: improve docstring formatting for `invoke_async` function in `Agent` class. [for better VS Code hover] --- src/strands/agent/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strands/agent/agent.py b/src/strands/agent/agent.py index 05e15a5b1..bb602d66b 100644 --- a/src/strands/agent/agent.py +++ b/src/strands/agent/agent.py @@ -425,7 +425,7 @@ async def invoke_async(self, prompt: AgentInput = None, **kwargs: Any) -> AgentR **kwargs: Additional parameters to pass through the event loop. Returns: - Result object containing: + Result: object containing: - stop_reason: Why the event loop stopped (e.g., "end_turn", "max_tokens") - message: The final message from the model