@@ -224,8 +224,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
224
224
->setArguments ([
225
225
$ platform ['api_key ' ],
226
226
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
227
- new Reference ('ai.platform.contract.anthropic ' ),
228
227
new Reference ('ai.platform.model_catalog.anthropic ' ),
228
+ new Reference ('ai.platform.contract.anthropic ' ),
229
229
])
230
230
->addTag ('ai.platform ' );
231
231
@@ -247,8 +247,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
247
247
$ config ['api_version ' ],
248
248
$ config ['api_key ' ],
249
249
new Reference ($ config ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
250
- new Reference ('ai.platform.contract.openai ' ),
251
250
new Reference ('ai.platform.model_catalog.azure.openai ' ),
251
+ new Reference ('ai.platform.contract.azure.openai ' ),
252
252
])
253
253
->addTag ('ai.platform ' );
254
254
@@ -268,8 +268,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
268
268
$ platform ['api_key ' ],
269
269
$ platform ['host ' ],
270
270
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
271
- new Reference ('ai.platform.contract.default ' ),
272
271
new Reference ('ai.platform.model_catalog.elevenlabs ' ),
272
+ new Reference ('ai.platform.contract.default ' ),
273
273
])
274
274
->addTag ('ai.platform ' );
275
275
@@ -287,8 +287,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
287
287
->setArguments ([
288
288
$ platform ['api_key ' ],
289
289
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
290
- new Reference ('ai.platform.contract.google ' ),
291
290
new Reference ('ai.platform.model_catalog.gemini ' ),
291
+ new Reference ('ai.platform.contract.gemini ' ),
292
292
])
293
293
->addTag ('ai.platform ' );
294
294
@@ -327,8 +327,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
327
327
$ platform ['location ' ],
328
328
$ platform ['project_id ' ],
329
329
$ httpClient ,
330
- new Reference ('ai.platform.contract.vertexai ' , ContainerInterface::NULL_ON_INVALID_REFERENCE ),
331
330
new Reference ('ai.platform.model_catalog.vertexai.gemini ' ),
331
+ new Reference ('ai.platform.contract.vertexai.gemini ' ),
332
332
])
333
333
->addTag ('ai.platform ' );
334
334
@@ -346,6 +346,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
346
346
->setArguments ([
347
347
$ platform ['api_key ' ],
348
348
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
349
+ new Reference ('ai.platform.model_catalog.openai ' ),
349
350
new Reference ('ai.platform.contract.openai ' ),
350
351
$ platform ['region ' ] ?? null ,
351
352
])
@@ -365,8 +366,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
365
366
->setArguments ([
366
367
$ platform ['api_key ' ],
367
368
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
368
- new Reference ('ai.platform.contract.default ' ),
369
369
new Reference ('ai.platform.model_catalog.openrouter ' ),
370
+ new Reference ('ai.platform.contract.default ' ),
370
371
])
371
372
->addTag ('ai.platform ' );
372
373
@@ -384,8 +385,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
384
385
->setArguments ([
385
386
$ platform ['api_key ' ],
386
387
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
387
- new Reference ('ai.platform.contract.default ' ),
388
388
new Reference ('ai.platform.model_catalog.mistral ' ),
389
+ new Reference ('ai.platform.contract.default ' ),
389
390
])
390
391
->addTag ('ai.platform ' );
391
392
@@ -403,8 +404,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
403
404
->setArguments ([
404
405
$ platform ['host_url ' ],
405
406
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
406
- new Reference ('ai.platform.contract.default ' ),
407
407
new Reference ('ai.platform.model_catalog.lmstudio ' ),
408
+ new Reference ('ai.platform.contract.default ' ),
408
409
])
409
410
->addTag ('ai.platform ' );
410
411
@@ -422,8 +423,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
422
423
->setArguments ([
423
424
$ platform ['host_url ' ],
424
425
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
425
- new Reference ('ai.platform.contract.ollama ' ),
426
426
new Reference ('ai.platform.model_catalog.ollama ' ),
427
+ new Reference ('ai.platform.contract.ollama ' ),
427
428
])
428
429
->addTag ('ai.platform ' );
429
430
@@ -442,6 +443,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
442
443
$ platform ['api_key ' ],
443
444
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
444
445
new Reference ('ai.platform.model_catalog.cerebras ' ),
446
+ new Reference ('ai.platform.contract.default ' ),
445
447
])
446
448
->addTag ('ai.platform ' );
447
449
@@ -460,6 +462,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
460
462
$ platform ['api_key ' ],
461
463
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
462
464
new Reference ('ai.platform.model_catalog.voyage ' ),
465
+ new Reference ('ai.platform.contract.default ' ),
463
466
])
464
467
->addTag ('ai.platform ' );
465
468
@@ -477,6 +480,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
477
480
->setArguments ([
478
481
$ platform ['api_key ' ],
479
482
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
483
+ new Reference ('ai.platform.model_catalog.perplexity ' ),
480
484
new Reference ('ai.platform.contract.perplexity ' ),
481
485
])
482
486
->addTag ('ai.platform ' );
@@ -495,8 +499,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
495
499
->setArguments ([
496
500
$ platform ['host_url ' ],
497
501
new Reference ($ platform ['http_client ' ], ContainerInterface::NULL_ON_INVALID_REFERENCE ),
498
- new Reference ('ai.platform.contract.default ' ),
499
502
new Reference ('ai.platform.model_catalog.dockermodelrunner ' ),
503
+ new Reference ('ai.platform.contract.default ' ),
500
504
])
501
505
->addTag ('ai.platform ' );
502
506
@@ -514,8 +518,8 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
514
518
->setArguments ([
515
519
$ platform ['api_key ' ],
516
520
new Reference ('http_client ' , ContainerInterface::NULL_ON_INVALID_REFERENCE ),
517
- new Reference ('ai.platform.contract.default ' ),
518
521
new Reference ('ai.platform.model_catalog.scaleway ' ),
522
+ new Reference ('ai.platform.contract.default ' ),
519
523
])
520
524
->addTag ('ai.platform ' );
521
525
0 commit comments