File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
tests/DependencyInjection Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 2929 ->children ()
3030 ->arrayNode ('platform ' )
3131 ->children ()
32+ ->arrayNode ('albert ' )
33+ ->children ()
34+ ->stringNode ('api_key ' )->isRequired ()->end ()
35+ ->stringNode ('base_url ' )->isRequired ()->end ()
36+ ->stringNode ('http_client ' )
37+ ->defaultValue ('http_client ' )
38+ ->info ('Service ID of the HTTP client to use ' )
39+ ->end ()
40+ ->end ()
41+ ->end ()
3242 ->arrayNode ('anthropic ' )
3343 ->children ()
3444 ->stringNode ('api_key ' )->isRequired ()->end ()
Original file line number Diff line number Diff line change 3838use Symfony \AI \Chat \Bridge \Meilisearch \MessageStore as MeilisearchMessageStore ;
3939use Symfony \AI \Chat \Bridge \Pogocache \MessageStore as PogocacheMessageStore ;
4040use Symfony \AI \Chat \MessageStoreInterface ;
41+ use Symfony \AI \Platform \Bridge \Albert \PlatformFactory as AlbertPlatformFactory ;
4142use Symfony \AI \Platform \Bridge \Anthropic \PlatformFactory as AnthropicPlatformFactory ;
4243use Symfony \AI \Platform \Bridge \Azure \OpenAi \PlatformFactory as AzureOpenAiPlatformFactory ;
4344use Symfony \AI \Platform \Bridge \Cerebras \PlatformFactory as CerebrasPlatformFactory ;
Original file line number Diff line number Diff line change @@ -2774,6 +2774,10 @@ private function getFullConfig(): array
27742774 'anthropic ' => [
27752775 'api_key ' => 'anthropic_key_full ' ,
27762776 ],
2777+ 'albert ' => [
2778+ 'api_key ' => 'albert-test-key ' ,
2779+ 'base_url ' => 'https://albert.api.etalab.gouv.fr/v1 ' ,
2780+ ],
27772781 'azure ' => [
27782782 'my_azure_instance ' => [
27792783 'api_key ' => 'azure_key_full ' ,
You can’t perform that action at this time.
0 commit comments