Fix convo printing

This commit is contained in:
mijauexe
2025-03-31 16:18:37 +02:00
parent cf0409d28a
commit ccb79f0c44

View File

@@ -425,6 +425,12 @@ async def load_convo(
"""
convo = []
if branch_id is None and project_id is not None:
branches = await sm.get_branches_for_project_id(project_id)
if not branches:
return convo
branch_id = branches[0].id
project_states = await sm.get_project_states(project_id, branch_id)
task_counter = 1