We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f86537 commit 05f796bCopy full SHA for 05f796b
src/a2a/server/request_handlers/default_request_handler.py
@@ -195,7 +195,7 @@ async def _setup_message_execution(
195
if task.status.state in TERMINAL_TASK_STATES:
196
raise ServerError(
197
error=InvalidParamsError(
198
- message=f'Task {task.id} is in terminal state: {task.status.state}'
+ message=f'Task {task.id} is in terminal state: {task.status.state.value}'
199
)
200
201
@@ -437,7 +437,7 @@ async def on_resubscribe_to_task(
437
438
439
440
441
442
443
0 commit comments