Skip to content

Commit 378d0a1

Browse files
YasmeenOgoswaroopvarma1
authored andcommitted
feat : Update Lighthouse tools support
1 parent e1d74d8 commit 378d0a1

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ ENABLE_TRACING=false
6060
SANITIZE_TEXT_FOR_TTS=false
6161

6262
# Remote Automatic MCP Tools Server
63-
AUTOMATIC_TOOL_MCP_SERVER_URL="http://localhost:5173/ai/mcp"
6463
ENABLE_BREEZE_MCP=true
6564

6665
# Breeze MCP Shop Filtering Configuration

app/agents/voice/automatic/prompts/system/tool_scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_tool_scope_instrucations() -> str:
2525
c) Present the data with "Here is your [data type] for today: [data]"
2626
d) ONLY AFTER showing the data, ask: "Do you want me to fetch for any other specific timeframe?"
2727
- **DO NOT ASK FIRST** - Always fetch today's data automatically
28-
- Example: User: "get my sales data" → call get_current_time, then breeze-analytics__SalesDetailedBreakdownInsights with today's date, then say "Here is your sales data for today: [shows data]. Do you want me to fetch for any other specific timeframe?"
28+
- Example: User: "get my sales data", fetch data accordingly, and say "Here is your sales data for today: [shows data]. Do you want me to fetch for any other specific timeframe?"
2929
3. Resolve "Today" Explicitly
3030
For any tool call requiring a relative date or time range, first invoke `get_current_time` and use that exact timestamp to disambiguate relative terms like "today," "this week," or "last month."
3131
When a user asks for data for the "last X days", the period is inclusive of today. The start date should be calculated by subtracting (X-1) days from today's date. For example:

app/core/config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,6 @@ def get_required_env(var_name: str) -> str:
222222

223223
# Automatic MCP Tool Server
224224
ENABLE_BREEZE_MCP = os.environ.get("ENABLE_BREEZE_MCP", "false").lower() == "true"
225-
AUTOMATIC_TOOL_MCP_SERVER_URL = os.environ.get(
226-
"AUTOMATIC_TOOL_MCP_SERVER_URL", "https://portal.breeze.in/ai/mcp"
227-
)
228225
MCP_CLIENT_TIMEOUT = int(os.environ.get("MCP_CLIENT_TIMEOUT", 30)) # seconds
229226
BREEZE_MCP_ENDPOINT_PATH = os.environ.get("BREEZE_MCP_ENDPOINT_PATH", "/ai/neurolink")
230227
shops_for_mcp = os.environ.get("SHOPS_FOR_BREEZE_MCP", "")

0 commit comments

Comments
 (0)