pub async fn create_embedding_provider() -> Option<BoxedProvider>Expand description
Create an embedding provider based on configuration.
Priority:
- Explicit provider in config
- Auto-detect available provider (Ollama preferred)
Returns None if no provider is available or embeddings are disabled.