fix(ai) - add logs + remove dashboard building (#21440)
- add logs for thread finishing without agent message - add logs to monitor toolCall token usage - remove dashboard building via AI (before fixing it) - fix Anthropic compute
This commit is contained in:
+7
-3
@@ -28,7 +28,6 @@ export const buildMcpServerInstructions = (
|
||||
` METADATA: get/create/update/delete_object_metadata | get/create/update/delete_field_metadata`,
|
||||
` Both GET tools return system items as compact summaries by default — keep that default for listing/inspecting; only set includeFullSystemObjects / includeFullSystemFields=true when you specifically need a system item's full configuration`,
|
||||
` VIEW: get_views | get_view_query_parameters | create/update/delete_view | manage view fields, filters, sorts`,
|
||||
` DASHBOARD: list_dashboards | get_dashboard | create_complete_dashboard | add/update/delete_dashboard_widget`,
|
||||
` WEBHOOK: list/create/update/delete_webhook`,
|
||||
` NAVIGATION: list/create/update/delete_navigation_menu_item`,
|
||||
` LOGIC_FUNCTION: app_{function_name} — workspace-specific; use list_logic_function_tools to discover`,
|
||||
@@ -36,8 +35,13 @@ export const buildMcpServerInstructions = (
|
||||
`Skills vs Tools:`,
|
||||
` Skills = documentation (load_skills) — teach HOW to do something, correct schemas and patterns`,
|
||||
` Tools = execution (execute_tool) — let you DO something`,
|
||||
` For complex tasks (workflows, dashboards, metadata), load the matching skill BEFORE calling tools.`,
|
||||
` ⚠️ Never call workflow, dashboard, or metadata tools without loading their skill first.`,
|
||||
` For complex tasks (workflows, metadata), load the matching skill BEFORE calling tools.`,
|
||||
` ⚠️ Never call workflow or metadata tools without loading their skill first.`,
|
||||
``,
|
||||
`Dashboards (coming soon):`,
|
||||
` Building or editing dashboards through the AI is not available yet — it is a coming soon feature.`,
|
||||
` If asked to create/build/modify a dashboard, do not attempt it: say AI-assisted dashboards are coming soon,`,
|
||||
` and offer alternatives (create views, run analytics with group_by_{objects}, or build workflows).`,
|
||||
``,
|
||||
`Route by intent:`,
|
||||
` Named entity ("Acme company") → find_many_{objects} to resolve id first, then operate on id`,
|
||||
|
||||
Reference in New Issue
Block a user