mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 02:12:26 +00:00
add newline
This commit is contained in:
parent
d96381e88f
commit
1a21c4b695
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ class ResponseStorage:
|
||||||
# Save response to JSON file
|
# Save response to JSON file
|
||||||
with open(response_path, "w") as f:
|
with open(response_path, "w") as f:
|
||||||
json.dump({"request": request, "response": serialized_response}, f, indent=2)
|
json.dump({"request": request, "response": serialized_response}, f, indent=2)
|
||||||
|
f.write("\n")
|
||||||
|
|
||||||
# Update SQLite index
|
# Update SQLite index
|
||||||
with sqlite3.connect(self.db_path) as conn:
|
with sqlite3.connect(self.db_path) as conn:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue