We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4ddbc commit 62fc5b8Copy full SHA for 62fc5b8
1 file changed
sim/providers/ollama/index.ts
@@ -6,7 +6,7 @@ import { ProviderConfig, ProviderRequest, ProviderResponse, TimeSegment } from '
6
import { ModelsObject } from './types'
7
8
const logger = createLogger('Ollama Provider')
9
-const OLLAMA_HOST = 'http://localhost:11434'
+const OLLAMA_HOST = process.env.OLLAMA_HOST || 'http://localhost:11434'
10
11
export const ollamaProvider: ProviderConfig = {
12
id: 'ollama',
0 commit comments