chore(shared): 🔧 Hello! I'm a mock assistant responding to your message.

This commit is contained in:
Lilith 2026-01-05 12:26:41 -08:00
parent 3310e26e1a
commit b5809d3da9
2 changed files with 6 additions and 3 deletions

View file

@ -370,18 +370,21 @@ def create_auto_commit_service(
commits_by_repo = defaultdict(list)
total_commits = 0
for cycle in daemon.get_history(100): # Search last 100 cycles
for cycle_result in daemon.get_history(100): # Search last 100 cycles
if total_commits >= limit:
break
for result in cycle.get("results", []):
# Convert CycleResult to dict
cycle_dict = cycle_result.model_dump()
for result in cycle_dict.get("results", []):
if result.get("commit_hash"):
commits_by_repo[result["repo_name"]].append(
{
"hash": result["commit_hash"],
"message": result.get("commit_message", ""),
"timestamp": result.get("timestamp"),
"cycle_id": cycle.get("cycle_id"),
"cycle_id": cycle_dict.get("cycle_id"),
}
)
total_commits += 1