viettranx
666bfbaf3c
fix(agent/systemprompt): soften predefined bootstrap to forbid empty-args tool calls
...
The previous MANDATORY phrasing ("MUST ALSO call write_file for
USER.md and BOOTSTRAP.md before your response ends") was making
small models emit write_file({}) when they had no real user info
to persist, tripping HTTP 400 on Google's Gemini OpenAI-compat shim.
Rewrite the predefined+BOOTSTRAP.md branch with softer "get to know
the user" copy plus explicit hard rules forbidding empty/placeholder
arguments and session-identifier content in USER.md. Safety net is
preserved: the USER PROFILE INCOMPLETE branch nudges the model every
subsequent turn until USER.md is populated.
Sync BOOTSTRAP_PREDEFINED.md template to remove the contradictory
MANDATORY block and replace with matching hard rules.
Trace: 019d8f33-2de1-7ab2-9a32-9df92cd610dd
2026-04-15 12:42:32 +07:00
..
2026-04-15 11:24:57 +07:00
2026-04-10 10:13:58 +07:00
2026-04-10 10:13:58 +07:00
2026-04-11 21:22:23 +07:00
2026-03-27 09:35:57 +07:00
2026-04-11 21:22:23 +07:00
2026-03-19 13:59:32 +07:00
2026-02-22 14:58:07 +07:00
2026-02-22 14:58:07 +07:00
2026-04-11 21:22:23 +07:00
2026-03-20 13:42:19 +07:00
2026-04-15 11:24:57 +07:00
2026-04-05 21:32:59 +07:00
2026-04-13 19:09:29 +07:00
2026-04-13 11:04:19 +07:00
2026-04-11 08:12:55 +07:00
2026-04-02 22:58:35 +07:00
2026-04-13 19:09:29 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-15 11:24:57 +07:00
2026-04-09 21:15:19 +07:00
2026-04-15 11:24:57 +07:00
2026-04-14 18:28:31 +07:00
2026-03-17 13:18:27 +07:00
2026-04-15 04:09:11 +07:00
2026-03-25 12:37:49 +07:00
2026-03-17 15:43:24 +07:00
2026-04-15 11:24:57 +07:00
2026-04-15 11:24:57 +07:00
2026-04-14 10:09:45 +07:00
2026-04-15 11:24:57 +07:00
2026-04-14 18:28:31 +07:00
2026-03-30 15:20:01 +07:00
2026-04-09 21:15:19 +07:00
2026-03-28 14:53:43 +07:00
2026-04-11 21:22:23 +07:00
2026-03-31 14:33:33 +07:00
2026-04-15 11:24:57 +07:00
2026-04-13 11:04:19 +07:00
2026-04-13 11:04:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-14 18:28:31 +07:00
2026-04-14 18:28:31 +07:00
2026-04-14 18:28:31 +07:00
2026-03-30 22:15:34 +07:00
2026-03-31 19:26:40 +07:00
2026-04-14 18:28:31 +07:00
2026-04-14 18:28:31 +07:00
2026-04-11 21:22:23 +07:00
2026-04-11 21:22:23 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-10 16:32:54 +07:00
2026-04-10 16:32:54 +07:00
2026-04-10 16:32:54 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-15 11:24:57 +07:00
2026-04-15 11:24:57 +07:00
2026-04-15 11:24:57 +07:00
2026-03-31 11:44:54 +07:00
2026-04-15 11:24:57 +07:00
2026-04-09 21:15:19 +07:00
2026-04-15 11:24:57 +07:00
2026-04-11 21:22:23 +07:00
2026-04-11 21:22:23 +07:00
2026-04-11 23:22:17 +07:00
2026-04-11 21:22:23 +07:00
2026-04-11 21:22:23 +07:00
2026-04-11 23:22:17 +07:00
2026-04-14 18:28:31 +07:00
2026-03-10 23:11:02 +07:00
2026-03-24 10:24:10 +07:00
2026-04-04 21:17:47 +07:00
2026-04-04 21:17:47 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-10 10:13:58 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-15 12:41:00 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-02 18:32:43 +07:00
2026-04-15 12:42:32 +07:00
2026-03-21 12:01:04 +07:00
2026-03-31 08:35:06 +07:00
2026-03-19 13:35:57 +07:00
2026-03-28 14:53:43 +07:00
2026-03-28 14:53:43 +07:00
2026-03-19 23:34:45 +07:00
2026-04-08 14:47:39 +07:00
2026-04-08 14:47:39 +07:00
2026-03-12 18:26:40 +07:00