MDL-85027 aiprovider_ollama: Remove trailing slash of endpoint
This commit is contained in:
@@ -40,7 +40,7 @@ abstract class abstract_processor extends process_base {
|
||||
*/
|
||||
protected function get_endpoint(): UriInterface {
|
||||
$url = rtrim($this->provider->config['endpoint'], '/')
|
||||
. '/api/generate/';
|
||||
. '/api/generate';
|
||||
|
||||
return new Uri($url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user