fix: reinforce no-project-inference in system prompt; filter tool messages from title generation
This commit is contained in:
@@ -538,6 +538,11 @@ async def build_context(
|
||||
"Delete tools require an explicit user request. "
|
||||
"Never proactively search notes or comment on absent context."
|
||||
)
|
||||
tool_lines.append(
|
||||
"IMPORTANT: When creating tasks or notes, NEVER infer or guess a project name. "
|
||||
"Only set the project parameter if the user explicitly names a project. "
|
||||
"If the user says 'create a task to buy milk', do NOT assign it to a project."
|
||||
)
|
||||
tool_guidance = "\n".join(tool_lines)
|
||||
|
||||
static_block = (
|
||||
|
||||
Reference in New Issue
Block a user