diff --git a/llama_stack/testing/inference_recorder.py b/llama_stack/testing/inference_recorder.py index 4f82147a2..711ecd1fc 100644 --- a/llama_stack/testing/inference_recorder.py +++ b/llama_stack/testing/inference_recorder.py @@ -119,6 +119,7 @@ class ResponseStorage: # Save response to JSON file with open(response_path, "w") as f: json.dump({"request": request, "response": serialized_response}, f, indent=2) + f.write("\n") # Update SQLite index with sqlite3.connect(self.db_path) as conn: