fix(logs): resolve IndentationError in ChatLogger
This commit is contained in:
@@ -8,6 +8,8 @@ from pathlib import Path
|
||||
from datetime import datetime
|
||||
from typing import Dict, Any, Optional
|
||||
|
||||
from config import get_settings
|
||||
|
||||
|
||||
class ChatLogger:
|
||||
"""
|
||||
@@ -15,8 +17,6 @@ class ChatLogger:
|
||||
Appends to JSONL file for easy parsing and DSGVO compliance.
|
||||
"""
|
||||
|
||||
from config import get_settings
|
||||
|
||||
def __init__(self, log_dir: Optional[str] = None, log_file: str = "chat_history.jsonl"):
|
||||
"""
|
||||
Initialize chat logger.
|
||||
|
||||
Reference in New Issue
Block a user