fix(desktop_bridge): collect all mixin members for inMixin check; simplify ask_user schema; enhance turn-25 prompt

- desktop_bridge.py: iterate all keys to collect mixin llm_nos, fixing inMixin bug when multiple mixins exist
- tools_schema*.json: trim verbose descriptions for token efficiency
- ga.py: clarify turn-25 prompt to write to file (not only working_checkpoint)
This commit is contained in:
Liang Jiaqing committed 2026-06-23 10:06:09 +08:00
1 parent 37225424cb
commit 904ade4907
4 files changed
+16 -11

No files matched your search

+1 -1
View File
@@ -566,7 +566,7 @@ class GenericAgentHandler(BaseHandler):
elif turn % 7 == 0:
next_prompt += f"\n\n[SYSTEM] Turn {turn}. Call update_working_checkpoint to save key context. Stop ineffective retries; if no progress, switch strategy: 1) Probe physical boundaries 2) **Re-read relevant SOPs**"
elif turn % 25 == 0:
next_prompt += f"\n\n[SYSTEM] Turn {turn}. Write checkpoints/key findings/tried approaches to a file for future reference. Avoid losing critical info."
next_prompt += f"\n\n[SYSTEM] Turn {turn}. Write checkpoints/key findings/tried approaches to a **file** for future reference (not only working_checkpoint!). Avoid losing critical info."
elif turn % 10 == 0: next_prompt += get_global_memory()
if _plan and turn >= 10 and turn % 5 == 0: