OppaAI commited on
Commit
867053d
·
verified ·
1 Parent(s): 423b34e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, do not call tools and only output the description.
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
  {{