The similarity score was being set as a numpy.float32 from SQLite distance calculations.
Pydantic expects Python native float types for the score field, causing validation errors
when querying MCPs or using chat features.
Fix: Convert similarity score to Python float using float() conversion.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| core | ||
| utils | ||
| __init__.py | ||