Merge pull request #209 from Helvio88/patch-1

Use new OpenAI Completions Endpoint
This commit is contained in:
Timothy Jaeryang Baek 2024-09-10 00:56:59 +01:00 committed by GitHub
commit 7ba65e33ec
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"
}