quick fix
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import json
|
||||
import logging
|
||||
import random
|
||||
from datetime import datetime
|
||||
from datetime import datetime, timezone
|
||||
|
||||
from sqlalchemy import select
|
||||
from sqlalchemy.ext.asyncio import AsyncSession
|
||||
@@ -311,7 +311,7 @@ Return ONLY the JSON array, no other text."""
|
||||
confidence=fact_data.get("confidence", 0.8),
|
||||
source="auto_extraction",
|
||||
is_active=True,
|
||||
learned_at=datetime.utcnow(),
|
||||
learned_at=datetime.now(timezone.utc),
|
||||
# New fields from Living AI
|
||||
category=fact_data["type"],
|
||||
importance=fact_data.get("importance", 0.5),
|
||||
|
||||
Reference in New Issue
Block a user