PH penguin
PH penguin
For the Pydantic validation error with `QDRANT__SERVICE__HARDWARE_REPORTING=true`: The issue is that the environment variable is being parsed as a string `"true"` instead of a boolean. Pydantic's `StrictBool` validator rejects string...
For the OpenAI ChatCompletion content as list instead of string: OpenAI's API returns `content` as either a string or a list of content parts. The code assumes string. Fix: ```python...
For the unused testcontainers dependency: The `@chroma-core/ollama` package lists `testcontainers` as a dependency but never uses it. This adds unnecessary weight and potential security surface. Fix: Remove `testcontainers` from `package.json`...
For the `overrides` dependency crash on Python 3.14: The `overrides` package uses deprecated AST features removed in Python 3.14. Fix: ```python # In setup.py / pyproject.toml: python_requires = '>=3.9,
This is a dangerous silent failure - users think their data is being saved when it's not. A few ways to fix this:\n\n1. **Validate on switch**: Before changing the embedder...
For the embedding provider switch dropping writes silently: The silent failure is caused by dimension mismatch between the new provider's embeddings and the existing collection. The fix is to: 1....
The dimension mismatch silently drops writes because: 1. pgvector collection is created with `OPENAI_DIM=1536` 2. Switch to Gemini (`GEMINI_DIM=768`) 3. New embeddings are 768-dim but collection still expects 1536 4....
The dimension mismatch fix: ```python # In the vector store add() method: def add(self, documents, embeddings, ...): actual_dim = len(embeddings[0]) expected_dim = self.collection.dimension if actual_dim != expected_dim: raise ValueError( f"Embedding...
For the OpenRouter thinking model issue: OpenRouter's `reasoning` models return a different response format with a `reasoning_content` field. CrewAI likely doesn't handle this extra field. Fix: Add handling for the...
For the SIGSEGV on macOS ARM64 with Python 3.14: Python 3.14 is still in development and many native extensions aren't compatible yet. The rust bindings crash because they haven't been...