Fix authorization to the API.

This commit is contained in:
Petr Mironychev
2024-08-30 07:47:33 +02:00
parent e3495e10f0
commit 46258a11f6
12 changed files with 21 additions and 44 deletions

View File

@ -39,12 +39,7 @@ QString OllamaProvider::name() const
QString OllamaProvider::url() const
{
return "http://localhost";
}
int OllamaProvider::defaultPort() const
{
return 11434;
return "http://localhost:11434";
}
QString OllamaProvider::completionEndpoint() const