refactor: unify docstrings, add /resume command, simplify error msg

This commit is contained in:
Liang Jiaqing committed 2026-04-16 21:04:04 +08:00
1 parent cc99bebf1f
commit ca76daddd3
3 files changed
+14 -31

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ st.set_page_config(page_title="Cowork", layout="wide")
def init():
agent = GeneraticAgent()
if agent.llmclient is None:
st.error("⚠️ 未配置任何可用的 LLM 接口,请在 mykey.py 中添加 sider_cookie 或 oai_apikey+oai_apibase 等信息后重启。")
st.error("⚠️ 未配置任何可用的 LLM 接口,请设置mykey.py。")
st.stop()
else: threading.Thread(target=agent.run, daemon=True).start()
return agent