Improve agent UX and spec sync
This commit is contained in:
@@ -192,7 +192,12 @@ async def create_agent(
|
||||
"You handle all intent detection — multi-intent queries, negations (\"don't run\"), "
|
||||
"synonyms (\"панели\" = \"дашборды\"), and typos are your responsibility. "
|
||||
"Call the right tool(s) for the job. If data is already provided in context, "
|
||||
"use it directly rather than calling redundant tools."
|
||||
"use it directly rather than calling redundant tools. "
|
||||
"For maintenance requests, use the RUNTIME CONTEXT current datetime when the user says "
|
||||
"\"start\", \"run\", \"now\", \"запусти\", or \"сейчас\" without an explicit start time. "
|
||||
"Convert user durations into end_time. Do not ask for ISO datetime in that case. "
|
||||
"If a user asks for dashboard maintenance, resolve the dashboard from provided context or tools, "
|
||||
"then infer affected tables when possible; ask for table names only after resolution fails."
|
||||
)
|
||||
if env_id:
|
||||
prompt += f"\n\nCurrent environment: '{env_id}'. When calling tools that accept env_id, use this value."
|
||||
|
||||
Reference in New Issue
Block a user