feat: prompt_cache skip compress + style

This commit is contained in:
Liang Jiaqing
2026-03-20 23:47:15 +08:00
parent 05800a4f48
commit 85f17db487
2 changed files with 4 additions and 4 deletions

View File

@@ -79,8 +79,7 @@ def agent_runner_loop(client, system_prompt, user_input, handler, tools_schema,
yield '`````\n'
outcome = yield from gen
yield '`````\n'
else:
outcome = exhaust(gen)
else: outcome = exhaust(gen)
if outcome.next_prompt is None: return {'result': 'CURRENT_TASK_DONE', 'data': outcome.data}
if outcome.should_exit: return {'result': 'EXITED', 'data': outcome.data}