File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -156,10 +156,11 @@ async def _send_query(
156
156
157
157
Args:
158
158
query (str): The query to send to the agent.
159
- task_id (str, optional): Task ID for continuing an incomplete task. Use the same
160
- task_id from a previous response with TaskState.input_required to resume the task. If you want to start a new task, you should not provide a task id.
161
- context_id (str, optional): Context ID for conversation continuity. Provides the
162
- agent with conversation history. Omit to start a fresh conversation. If you want to start a new conversation, you should not provide a context id.
159
+ task_id (str, optional): Task ID for continuing an incomplete task.
160
+ If you want to start a new task, you should not provide a task_id (pass `task_id=None`).
161
+ If you want to resume a task, use the same task_id from a previous response with TaskState.input_required.
162
+ context_id (str, optional): Context ID for conversation continuity.
163
+ If you want to start a new conversation, you should not provide a context_id (pass `context_id=None`).
163
164
164
165
Returns:
165
166
dict: Response from the A2A agent containing:
You can’t perform that action at this time.
0 commit comments