Skip to content

Commit 62fc5b8

Browse files
authored
fix(ollama): set OLLAMA_HOST from env variable (#316)
1 parent 5d4ddbc commit 62fc5b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sim/providers/ollama/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ProviderConfig, ProviderRequest, ProviderResponse, TimeSegment } from '
66
import { ModelsObject } from './types'
77

88
const logger = createLogger('Ollama Provider')
9-
const OLLAMA_HOST = 'http://localhost:11434'
9+
const OLLAMA_HOST = process.env.OLLAMA_HOST || 'http://localhost:11434'
1010

1111
export const ollamaProvider: ProviderConfig = {
1212
id: 'ollama',

0 commit comments

Comments
 (0)