Skip to content

Commit 048e173

Browse files
committed
bug #236 [AI Bundle] Change Azure Contract to OpenAI for Whisper support (chr-hertel)
This PR was merged into the main branch. Discussion ---------- [AI Bundle] Change Azure Contract to OpenAI for Whisper support | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | | License | MIT For Whisper support on Azure we also need the OpenAI contract instead of the default one. Commits ------- 5a6b410 Change Azure Contract to OpenAI for Whisper support
2 parents 59f1422 + 5a6b410 commit 048e173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ai-bundle/src/AiBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
186186
$config['api_version'],
187187
$config['api_key'],
188188
new Reference('http_client', ContainerInterface::NULL_ON_INVALID_REFERENCE),
189-
new Reference('ai.platform.contract.default'),
189+
new Reference('ai.platform.contract.openai'),
190190
])
191191
->addTag('ai.platform');
192192

0 commit comments

Comments
 (0)