Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,6 @@ def safe_parse_json_from_text(text: str):
|
|
| 80 |
@mcp.tool(
|
| 81 |
name="robot_watch",
|
| 82 |
description="Analyze a base64 image using Qwen VLM and return structured JSON.",
|
| 83 |
-
input_schema=RobotWatchPayload # <-- Explicitly use the Pydantic schema here
|
| 84 |
)
|
| 85 |
def robot_watch(payload: RobotWatchPayload): # <-- Type hint with Pydantic model
|
| 86 |
# The payload is already validated and typed correctly by fastmcp/pydantic
|
|
|
|
| 80 |
@mcp.tool(
|
| 81 |
name="robot_watch",
|
| 82 |
description="Analyze a base64 image using Qwen VLM and return structured JSON.",
|
|
|
|
| 83 |
)
|
| 84 |
def robot_watch(payload: RobotWatchPayload): # <-- Type hint with Pydantic model
|
| 85 |
# The payload is already validated and typed correctly by fastmcp/pydantic
|