OppaAI commited on
Commit
82789d4
·
verified ·
1 Parent(s): 80c4ab2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -113,16 +113,16 @@ 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 short description of what you see.
117
  2. Decide ONE MCP tool to call from:
118
  - chat_with_human
119
- 3. If a human is looking directly at the robot and waving, set "tool_name": "chat_with_human".
120
- 4. Otherwise, set "tool_name": null and leave "arguments": {{}}
121
 
122
  Output format:
123
  {{
124
  "description": "...",
125
- "tool_name": "chat_with_human | null",
126
  "arguments": {{}}
127
  }}
128
  """
 
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, do not call tools.
121
 
122
  Output format:
123
  {{
124
  "description": "...",
125
+ "tool_name": "chat_with_human | ",
126
  "arguments": {{}}
127
  }}
128
  """