Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Application extends App implements IBootstrap {

public const DEFAULT_MODEL_ID = 'Default';
public const DEFAULT_COMPLETION_MODEL_ID = 'gpt-4.1-mini';
public const DEFAULT_IMAGE_MODEL_ID = 'dall-e-2';
public const DEFAULT_IMAGE_MODEL_ID = 'gpt-image-1-mini';
public const DEFAULT_TRANSCRIPTION_MODEL_ID = 'whisper-1';
public const DEFAULT_SPEECH_MODEL_ID = 'tts-1-hd';
public const DEFAULT_SPEECH_VOICE = 'alloy';
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/OpenAiAPIService.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function isUsingOpenAi(?string $serviceType = null): bool {
public function getServiceName(?string $serviceType = null): string {
if ($this->isUsingOpenAi($serviceType)) {
if ($serviceType === Application::SERVICE_TYPE_IMAGE) {
return $this->l10n->t('OpenAI\'s DALL-E 2');
return $this->l10n->t('OpenAI\'s Image Generation');
}
if ($serviceType === Application::SERVICE_TYPE_TTS) {
$this->l10n->t('OpenAI\'s Text to Speech');
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdminSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ export default {

const defaultImageModelId = this.state.default_image_model_id
const imageModelToSelect = this.imageModels.find(m => m.id === defaultImageModelId)
|| this.imageModels.find(m => m.id === 'dall-e-2')
|| this.imageModels.find(m => m.id.match(/image/i))
|| this.imageModels[1]
|| this.imageModels[0]

Expand Down
Loading