MDL-85027 aiprovider_ollama: Remove trailing slash of endpoint

This commit is contained in:
Huong Nguyen
2025-03-27 09:56:09 +07:00
parent 79e3d6d050
commit b2d17c7a1d
@@ -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);
}