Skip to content

Fix embeddings init crash for sentence-transformers models#1070

Open
rylena wants to merge 1 commit intoagent0ai:mainfrom
rylena:fix/1050-sentence-transformers-provider
Open

Fix embeddings init crash for sentence-transformers models#1070
rylena wants to merge 1 commit intoagent0ai:mainfrom
rylena:fix/1050-sentence-transformers-provider

Conversation

@rylena
Copy link

@rylena rylena commented Feb 18, 2026

Fixes #1050

When the embedding model is sentence-transformers/..., routing through LiteLLM remote providers (e.g. OpenRouter) fails during first-run memory initialization.

This change always routes sentence-transformers/... embedding models through the local SentenceTransformer wrapper, regardless of the selected provider, preventing the crash and making the behavior consistent with the model name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory Fail on First Chat

1 participant

Comments