forked from mosaicstack/stack
fix(agent): pass dummy apiKey for Ollama provider registration (#116)
Co-authored-by: Jason Woltje <[email protected]> Co-committed-by: Jason Woltje <[email protected]>
This commit is contained in:
@@ -96,6 +96,7 @@ export class ProviderService implements OnModuleInit {
|
|||||||
id: 'ollama',
|
id: 'ollama',
|
||||||
name: 'Ollama',
|
name: 'Ollama',
|
||||||
baseUrl: `${ollamaUrl}/v1`,
|
baseUrl: `${ollamaUrl}/v1`,
|
||||||
|
apiKey: 'ollama',
|
||||||
models: modelIds.map((id) => ({
|
models: modelIds.map((id) => ({
|
||||||
id,
|
id,
|
||||||
name: id,
|
name: id,
|
||||||
|
|||||||
Reference in New Issue
Block a user