mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-10 13:37:55 -05:00
Fix convo printing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user