We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a033b4 + df57d56 commit 5fa2184Copy full SHA for 5fa2184
packages/core/src/embedding.ts
@@ -93,7 +93,6 @@ export async function embed(runtime: IAgentRuntime, input: string) {
93
if (
94
isNode &&
95
runtime.character.modelProvider !== ModelProviderName.OPENAI &&
96
- runtime.character.modelProvider !== ModelProviderName.OLLAMA &&
97
!settings.USE_OPENAI_EMBEDDING
98
) {
99
return await getLocalEmbedding(input);
0 commit comments