File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 2727use Symfony \AI \Platform \Bridge \Anthropic \Contract \AnthropicContract ;
2828use Symfony \AI \Platform \Bridge \Gemini \Contract \GeminiContract ;
2929use Symfony \AI \Platform \Bridge \Ollama \Contract \OllamaContract ;
30- use Symfony \AI \Platform \Bridge \OpenAi \Whisper \ AudioNormalizer ;
30+ use Symfony \AI \Platform \Bridge \OpenAi \Contract \ OpenAiContract ;
3131use Symfony \AI \Platform \Bridge \VertexAi \Contract \GeminiContract as VertexAiGeminiContract ;
3232use Symfony \AI \Platform \Contract ;
3333use Symfony \AI \Platform \Contract \JsonSchema \DescriptionParser ;
3737 $ container ->services ()
3838 ->set ('ai.platform.contract.default ' , Contract::class)
3939 ->factory ([Contract::class, 'create ' ])
40- ->set ('ai.platform.contract.openai ' )
41- ->parent ('ai.platform.contract.default ' )
42- ->args ([
43- inline_service (AudioNormalizer::class),
44- ])
40+ ->set ('ai.platform.contract.openai ' , Contract::class)
41+ ->factory ([OpenAiContract::class, 'create ' ])
4542 ->set ('ai.platform.contract.anthropic ' , Contract::class)
4643 ->factory ([AnthropicContract::class, 'create ' ])
4744 ->set ('ai.platform.contract.google ' , Contract::class)
You can’t perform that action at this time.
0 commit comments