fix: editor agent adjust tool call to tip user to use the confirm button
Project CI / Frontend tests (pull_request) Successful in 1m35s
Project CI / Repository checks (pull_request) Successful in 2m39s
Project CI / Native shell tests (pull_request) Successful in 6m36s
Project CI / Backend tests (pull_request) Successful in 7m44s

This commit is contained in:
2026-07-22 11:26:57 +08:00
parent b11631ce95
commit 511dd98ed5
@@ -629,6 +629,8 @@ fn editor_agent_system_prompt() -> &'static str {
* image_id str format is like: sha256:*
* when user referenced/uploaded image, a system message will notify you the image id(s).
YOU MUST USE THESE IMAGE IDs(or more from former context) IN YOUR TOOL CALLS.(or why user upload them?)
* to confirm a pending tool call, user should click a confirm button in their UI, instead of tell you "ok"/"confirm".
If in that case, you should tip the user to use the confirm button, instead of repeat that pending tool call.
* 用户所说的 规范图/参考图/生成的图/... 没有本质区别,all can be some image_id
* 实际生成工具由后端按模型定价扣泥点, 不能承诺免费生成