Skip to content

Commit cf019a9

Browse files
committed
minor #778 [Platform] Fix cs (OskarStark)
This PR was merged into the main branch. Discussion ---------- [Platform] Fix cs | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | -- | License | MIT Commits ------- f312841 [Platform] Fix cs
2 parents 617afee + f312841 commit cf019a9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/platform/src/Bridge/Albert/ModelCatalog.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Symfony\AI\Platform\Bridge\OpenAi\Gpt;
1515
use Symfony\AI\Platform\Capability;
16+
use Symfony\AI\Platform\Model;
1617
use Symfony\AI\Platform\ModelCatalog\AbstractModelCatalog;
1718

1819
/**
@@ -21,7 +22,7 @@
2122
final class ModelCatalog extends AbstractModelCatalog
2223
{
2324
/**
24-
* @param array<string, array{class: class-string<\Symfony\AI\Platform\Model>, capabilities: list<Capability>}> $additionalModels
25+
* @param array<string, array{class: class-string<Model>, capabilities: list<Capability>}> $additionalModels
2526
*/
2627
public function __construct(array $additionalModels = [])
2728
{

src/platform/src/Bridge/Ollama/ModelCatalog.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\AI\Platform\Bridge\Ollama;
1313

1414
use Symfony\AI\Platform\Capability;
15+
use Symfony\AI\Platform\Model;
1516
use Symfony\AI\Platform\ModelCatalog\AbstractModelCatalog;
1617

1718
/**
@@ -20,7 +21,7 @@
2021
final class ModelCatalog extends AbstractModelCatalog
2122
{
2223
/**
23-
* @param array<string, array{class: class-string<\Symfony\AI\Platform\Model>, capabilities: list<Capability>}> $additionalModels
24+
* @param array<string, array{class: class-string<Model>, capabilities: list<Capability>}> $additionalModels
2425
*/
2526
public function __construct(array $additionalModels = [])
2627
{

0 commit comments

Comments
 (0)