Auto-commit: sync modifications in parent directory

This commit is contained in:
Liang Jiaqing
2026-01-29 17:52:45 +08:00
parent 2ae60d4d0b
commit ef00aaf641

View File

@@ -73,7 +73,8 @@ def agent_backend_stream(raw_query):
#if final_goal != raw_query: yield f"[Goal Refined] {final_goal}\n"
history = st.session_state.get("last_history", [])
history.append(f"[USER]: {smart_format(raw_query.replace('\n', ' '))}")
rquery = smart_format(raw_query.replace('\n', ' '))
history.append(f"[USER]: {rquery}")
sys_prompt = get_system_prompt()
handler = GenericAgentHandler(None, history, './temp')