fix(ollama): set OLLAMA_HOST from env variable (#316)

This commit is contained in:
gabelazo
2025-04-30 14:41:26 -07:00
committed by GitHub
parent 5d4ddbc79d
commit 62fc5b8374
+1 -1
View File
@@ -6,7 +6,7 @@ import { ProviderConfig, ProviderRequest, ProviderResponse, TimeSegment } from '
import { ModelsObject } from './types'
const logger = createLogger('Ollama Provider')
const OLLAMA_HOST = 'http://localhost:11434'
const OLLAMA_HOST = process.env.OLLAMA_HOST || 'http://localhost:11434'
export const ollamaProvider: ProviderConfig = {
id: 'ollama',