diff --git a/scripts/self_todo_executor.py b/scripts/self_todo_executor.py index c2d3e99..a403b03 100644 --- a/scripts/self_todo_executor.py +++ b/scripts/self_todo_executor.py @@ -83,11 +83,12 @@ def main(): result = reply["choices"][0]["message"]["content"][:500] conn.execute("UPDATE todos SET status='completed', note=? WHERE id=?", (f"知微已处理: {result[:200]}", tid)) - print(f" 🔶 {title}: 已处理") + print(f" 🔶 {title}") + print(f" {result[:300]}") except Exception as e: conn.execute("UPDATE todos SET status='pending', note=? WHERE id=?", (f"调用知微失败: {str(e)[:100]},下次再试", tid)) - print(f" ⚠️ {title}: 调用失败,下次再试") + print(f" ⚠️ {title}: gateway API调用失败,下次再试") conn.commit()