feat(image-search): Use baseURL from env

This commit is contained in:
ItzCrazyKns 2024-04-17 20:33:29 +05:30
parent 7a7eafb8e7
commit 2f20d845c8
No known key found for this signature in database
GPG key ID: 8162927C7CCE3065

View file

@ -13,6 +13,7 @@ import { searchSearxng } from '../core/searxng';
const llm = new Ollama({
temperature: 0,
model: process.env.MODEL_NAME,
baseUrl: process.env.OLLAMA_URL,
});
const imageSearchChainPrompt = `