Skip to content

Commit

Permalink
fix: unreferenced ollamaModel variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yodamaster726 committed Nov 22, 2024
1 parent eddfc28 commit ea52d23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-node/src/services/llama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ export class LlamaService extends Service {
const embeddingModel =
process.env.OLLAMA_EMBEDDING_MODEL || "mxbai-embed-large";
elizaLogger.info(
`Using Ollama API for embeddings with model ${embeddingModel}`
`Using Ollama API for embeddings with model ${embeddingModel} (base: ${ollamaModel})`
);

const response = await fetch(`${ollamaUrl}/api/embeddings`, {
Expand Down Expand Up @@ -716,7 +716,7 @@ export class LlamaService extends Service {
const embeddingModel =
process.env.OLLAMA_EMBEDDING_MODEL || "mxbai-embed-large";
elizaLogger.info(
`Using Ollama API for embeddings with model ${embeddingModel}`
`Using Ollama API for embeddings with model ${embeddingModel} (base: ${ollamaModel})`
);

const response = await fetch(`${ollamaUrl}/api/embeddings`, {
Expand Down

0 comments on commit ea52d23

Please sign in to comment.