You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add DeepInfra embedding support and fix missing Qdrant type field index
Added support for DeepInfra-hosted embedding models and fix a critical bug where
the 'type' field index was missing in Qdrant, causing "Bad Request" errors
during code search operations.
Changes:
- Added DeepInfra provider detection in OpenAICompatibleEmbedder
* Detect DeepInfra URLs (deepinfra.com)
* Use 'float' encoding format for DeepInfra, 'base64' for other standard
providers
* Handle both float array and base64 string embedding responses
* Added validation for embedding values (NaN/Infinity checking)
- Fix missing Qdrant payload index for 'type' field
* Non-existing `type` field causes "Bad Request" during `codebase_search`
tool invocation
* Create keyword index for 'type' field to support metadata filtering
* Resolves "Index required but not found for 'type' field" error
- Added 7 DeepInfra embedding model profiles:
* Qwen/Qwen3-Embedding-0.6B (1024 dims)
* Qwen/Qwen3-Embedding-4B (2560 dims)
* Qwen/Qwen3-Embedding-8B (4096 dims)
* intfloat/multilingual-e5-large-instruct (1024 dims)
* google/embeddinggemma-300m (768 dims)
* BAAI/bge-m3 (1024 dims)
* BAAI/bge-large-en-v1.5 (1024 dims)
- Added some test coverage for DeepInfra
* Provider validation
* Encoding format tests
* Float array and base64 response handling tests
* Configuration validation tests
Tested with: embeddinggemma-300m, text-embedding-004, multilingual-e5-large
0 commit comments