Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ RETURNING
warn_budget_threshold,
stop_budget_threshold,
disconnect_on_budget_exceed,
connection_status;
connection_status,
(used_budget >= stop_budget_threshold) AS budget_exceeded;
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,4 @@ return_success:
return_bad_request:
return: ${data_failed}
status: 400
next: end

return_connection_not_found:
status: 404
return: "error: LLM connection not found"
next: end
2 changes: 1 addition & 1 deletion src/tool_classifier/workflows/service_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async def _call_service_discovery(self, chat_id: str) -> Optional[Dict[str, Any]
logger.error(f"[{chat_id}] Service discovery failed: {e}", exc_info=True)
return None

@observe(name="service_intent_detection_orchestration", as_type="span")
@observe(name="service_intent_detection_orchestration", as_type="generation")
async def _detect_service_intent(
self,
user_query: str,
Expand Down
Loading