mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 12:10:57 +00:00
Persist chat prototype
This commit is contained in:
parent
56ba6c8605
commit
61e218bc5d
9 changed files with 249 additions and 14 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from dataclasses import dataclass, field
|
||||
import json
|
||||
from typing import Literal, Optional, Dict
|
||||
from typing import Any, Literal, Optional, Dict
|
||||
import uuid
|
||||
from collections import OrderedDict # Import OrderedDict
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ class Log:
|
|||
|
||||
self.updates += [item.no]
|
||||
|
||||
def output(self, start=None, end=None):
|
||||
def output(self, start=None, end=None):
|
||||
if start is None:
|
||||
start = 0
|
||||
if end is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue