mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-06 11:31:12 +00:00
feat(core): Support multi round conversation operator (#986)
This commit is contained in:
@@ -139,7 +139,7 @@ class FileSpanStorage(SpanStorage):
|
||||
def _write_to_file(self, spans: List[Span]):
|
||||
self._roll_over_if_needed()
|
||||
|
||||
with open(self.filename, "a") as file:
|
||||
with open(self.filename, "a", encoding="utf8") as file:
|
||||
for span in spans:
|
||||
span_data = span.to_dict()
|
||||
try:
|
||||
|
Reference in New Issue
Block a user