{"record":{"id":"bcf77f8b5596cf30","repo":"langgenius/dify","slug":"model-currently-not-support","errorCode":"model_currently_not_support","errorMessage":"Dify Hosted OpenAI trial currently not support the GPT-4 model.","messagePattern":"Dify Hosted OpenAI trial currently not support the GPT-4 model\\.","errorType":"error_code","errorClass":"ProviderModelCurrentlyNotSupportError","httpStatus":400,"severity":"error","filePath":"api/controllers/console/app/audio.py","lineNumber":169,"sourceCode":"    except services.errors.app_model_config.AppModelConfigBrokenError:\n        logger.exception(\"App model config broken.\")\n        raise AppUnavailableError()\n    except NoAudioUploadedServiceError:\n        raise NoAudioUploadedError()\n    except AudioTooLargeServiceError as e:\n        raise AudioTooLargeError(str(e))\n    except UnsupportedAudioTypeServiceError:\n        raise UnsupportedAudioTypeError()\n    except ProviderNotSupportSpeechToTextServiceError:\n        raise ProviderNotSupportSpeechToTextError()\n    except SpeechToTextDisabledServiceError:\n        raise SpeechToTextDisabledError()\n    except ProviderTokenNotInitError as ex:\n        raise ProviderNotInitializeError(ex.description)\n    except QuotaExceededError:\n        raise ProviderQuotaExceededError()\n    except ModelCurrentlyNotSupportError:\n        raise ProviderModelCurrentlyNotSupportError()\n    except InvokeError as e:\n        raise CompletionRequestError(e.description)\n    except HTTPException:\n        raise\n    except ValueError:\n        raise\n    except Exception as e:\n        logger.exception(\"Failed to transcribe audio to text\")\n        raise InternalServerError() from e\n\n\n@console_ns.route(\"/apps/<uuid:app_id>/audio-to-text\")\nclass ChatMessageAudioApi(Resource):\n    @console_ns.doc(\"chat_message_audio_transcript\")\n    @console_ns.doc(description=\"Transcript audio to text for chat messages\")\n    @console_ns.doc(\n        consumes=[\"multipart/form-data\"],\n        params={\"app_id\": \"App ID\", \"file\": _AUDIO_TRANSCRIPT_FILE_PARAM},","sourceCodeStart":151,"sourceCodeEnd":187,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/api/controllers/console/app/audio.py#L151-L187","documentation":"Raised by _transcribe_audio_to_text when AudioService raises ModelCurrentlyNotSupportError — the Dify Hosted OpenAI trial does not support the requested model on the trial path (the canned message names GPT-4). Translated to ProviderModelCurrentlyNotSupportError (400, error_code 'model_currently_not_support').","triggerScenarios":"App configured to use a model the hosted trial explicitly excludes (notably GPT-4) while still on the Dify Hosted trial provider; STT/transcription request routed to that model.","commonSituations":"Tenant still on trial trying to use GPT-4-class models; model setting left at a default the trial blocks.","solutions":["Switch to a supported trial model (e.g., gpt-3.5-turbo family).","Configure your own OpenAI/compatible provider credentials to unlock GPT-4.","Re-select the model in the app's model settings to a non-blocked option.","Confirm the tenant plan supports the model."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":"try { return await axios.post(`/apps/${id}/audio-to-text`, form); }\ncatch (e) {\n  if (e.code === 'model_currently_not_support') {\n    // retry with a trial-supported model or user-configured credentials\n  }\n}","preventionTips":["Use a trial-supported model (e.g., gpt-3.5-turbo) while on hosted trial.","Configure your own credentials to unlock GPT-4-class models.","Re-select the model in app settings after plan changes."],"tags":["audio","asr","model-provider","billing","console-api"],"backgroundTag":null,"analyzedSha":"ef8544b173fd6cd7a8e71df2cab576e52bebbfbc","analyzedAt":"2026-08-12T05:15:17.394Z","schemaVersion":2},"datasetVersion":"2026-08-12T12:31:55.035Z"}