Skip to content

Commit 5fa2184

Browse files
authoredNov 19, 2024
Merge pull request #413 from o-on-x/main
fix: removed ollama embeddings. fastembeddings or openai only
2 parents 3a033b4 + df57d56 commit 5fa2184

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎packages/core/src/embedding.ts

-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export async function embed(runtime: IAgentRuntime, input: string) {
9393
if (
9494
isNode &&
9595
runtime.character.modelProvider !== ModelProviderName.OPENAI &&
96-
runtime.character.modelProvider !== ModelProviderName.OLLAMA &&
9796
!settings.USE_OPENAI_EMBEDDING
9897
) {
9998
return await getLocalEmbedding(input);

0 commit comments

Comments
 (0)