-
-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
Description
While using the Azure OpenAI platform and a GTP model (like gtp-5-mini), the following error occurs:
No ModelClient registered for model "Symfony\AI\Platform\Bridge\OpenAi\Gpt" with given input.
This seems to happen due to the ModelCatalog of OpenAI being wired to the Azure platform factory, instead of the Azure/OpenAI ModelCatalog.
Used configuration:
ai:
platform:
azure:
my_azure:
base_url: '%ai.connector.azure_openai.base_uri%'
deployment: 'gpt-5-mini'
api_key: '%ai.connector.azure_openai.api_key%'
api_version: '%ai.connector.azure_openai.api_version%'
agent:
default:
platform: 'ai.platform.azure.my_azure'
model:
name: 'gpt-5-mini'
options:
temperature: 1.0
top_p: 1.0
max_completion_tokens: 100000
stream: true