Fixes #1658 The `_get_embedding_llm_config_dict` method was returning a fallback OpenAI config when `embedding_llm_config` was None, which prevented the use of local sentence-transformers embeddings. Changed the method to: - Return None when no embedding config is provided - Update return type from Dict to Optional[Dict] - Update docstring to clarify the behavior This allows `get_text_embeddings` utility to correctly switch to the local sentence-transformers implementation when no LLM config is provided. Co-Authored-By: Claude <noreply@anthropic.com>
84 KiB
84 KiB