- Replace `import typing` + `typing.TYPE_CHECKING` with direct `from typing import TYPE_CHECKING`
- Add `# type: ignore[assignment]` on model.encode() call with a per-file mypy override to suppress warn_unused_ignores (SentenceTransformer stubs not available)
- Add two missing TestLocalEmbedderMemoKey tests: trust_remote_code and normalize_embeddings variants
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements a custom LocalEmbedder class wrapping sentence_transformers.SentenceTransformer
with explicit device= and trust_remote_code= args, required for Jina GPU models that
the built-in SentenceTransformerEmbedder does not support. Includes thread-safe lazy
loading, pickle-safe __getstate__/__setstate__, and CocoIndex memo key support.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>