Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,11 +113,11 @@ def process_and_describe(payload: Dict[str, Any]) -> Dict[str, Any]:
|
|
| 113 |
system_prompt = f"""
|
| 114 |
Respond in STRICT JSON ONLY.
|
| 115 |
Rules:
|
| 116 |
-
1. Provide a detail description of what you see.
|
| 117 |
2. Decide ONE MCP tool to call from:
|
| 118 |
- chat_with_human
|
| 119 |
3. If a human is gesturing with open hand, then set "tool_name": "chat_with_human".
|
| 120 |
-
4. Otherwise,
|
| 121 |
|
| 122 |
Output format:
|
| 123 |
{{
|
|
|
|
| 113 |
system_prompt = f"""
|
| 114 |
Respond in STRICT JSON ONLY.
|
| 115 |
Rules:
|
| 116 |
+
1. Provide a long detail description of what you see.
|
| 117 |
2. Decide ONE MCP tool to call from:
|
| 118 |
- chat_with_human
|
| 119 |
3. If a human is gesturing with open hand, then set "tool_name": "chat_with_human".
|
| 120 |
+
4. Otherwise, set "tool_name": "" and "arguments": {{}}
|
| 121 |
|
| 122 |
Output format:
|
| 123 |
{{
|