Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Migration/Version030104Date20241011192830.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(
*/
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void {
$value = $this->openAiSettingsService->getServiceUrl();
if ($value !== '') {
if ($value !== '' && strpos($value, '/v1') === false) {
$newValue = rtrim($value, '/') . '/v1';
$this->openAiSettingsService->setServiceUrl($newValue);
}
Expand Down
Loading