mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-10 13:37:55 -05:00
Load only last 50 states
This commit is contained in:
@@ -226,8 +226,7 @@ async def run_pythagora_session(sm: StateManager, ui: UIBase, args: Namespace):
|
||||
"""
|
||||
|
||||
if args.project and args.step:
|
||||
convo = await load_convo(sm, args.project, args.step)
|
||||
# jsonnnnn = json.dumps(convo, indent=4)
|
||||
convo = (await load_convo(sm, args.project, args.step))[-50:]
|
||||
|
||||
for msg in convo:
|
||||
if "breakdown" in msg:
|
||||
|
||||
Reference in New Issue
Block a user