Fix sqlite compatibility for cognition models

This commit is contained in:
Alexa Amundson
2025-11-20 16:45:53 -06:00
parent a332017fc9
commit 6a93dd62d2
3 changed files with 70 additions and 23 deletions

View File

@@ -242,7 +242,7 @@ async def run_cognition(
input_context=request.input,
output=str(step_value),
confidence_score=pipeline.get('confidence', 0.0),
metadata={'mode': request.mode}
trace_metadata={'mode': request.mode}
)
db.add(trace)
step_number += 1