mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 23:03:49 +00:00
PR-437-Fixed a bug where turns were getting fetched randomly
This commit is contained in:
parent
e6e49e1bc6
commit
70e30891ec
1 changed files with 1 additions and 1 deletions
|
@ -80,5 +80,5 @@ class AgentPersistence:
|
|||
except Exception as e:
|
||||
print(f"Error parsing turn: {e}")
|
||||
continue
|
||||
|
||||
turns.sort(key=lambda x: (x.completed_at or datetime.min))
|
||||
return turns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue