We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 384e82c commit 6ae2481Copy full SHA for 6ae2481
1 file changed
tests/experimental/tasks/server/test_run_task_flow.py
@@ -78,8 +78,8 @@ async def handle_call_tool(name: str, arguments: dict[str, Any]) -> CallToolResu
78
ctx.experimental.validate_task_mode(TASK_REQUIRED)
79
80
# Capture the meta from the request (if present)
81
- if ctx.meta is not None and ctx.meta.get("model_extra"): # pragma: no branch
82
- received_meta[0] = ctx.meta["model_extra"].get("custom_field")
+ if ctx.meta is not None: # pragma: no branch
+ received_meta[0] = ctx.meta.get("custom_field")
83
84
async def work(task: ServerTaskContext) -> CallToolResult:
85
await task.update_status("Working...")
0 commit comments