Use new OpenAI Completions Endpoint

This commit is contained in:
Helvio Pedreschi 2024-09-09 12:17:10 -04:00 committed by GitHub
parent c826a198c2
commit 0ceb7946f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,6 +68,7 @@ Make sure you pull the model into your ollama instance/s beforehand.
"title": "Granite Code",
"provider": "openai",
"model": "granite-code:latest",
"useLegacyCompletionsEndpoint": false,
"apiBase": "http://YOUROPENWEBUI/ollama/v1",
"apiKey": "sk-YOUR-API-KEY"
}
@ -83,6 +84,7 @@ Make sure you pull the model into your ollama instance/s beforehand.
"title": "Granite Code",
"provider": "openai",
"model": "granite-code:latest",
"useLegacyCompletionsEndpoint": false,
"apiBase": "http://localhost:3000/ollama/v1",
"apiKey": "sk-YOUR-API-KEY"
}