Skip to content

Commit b5033cd

Browse files
committed
Remove unnecessary import aliases
1 parent 2f05b00 commit b5033cd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/platform/src/Bridge/Perplexity/ResultConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
use Symfony\AI\Platform\Result\ResultInterface;
2121
use Symfony\AI\Platform\Result\StreamResult;
2222
use Symfony\AI\Platform\Result\TextResult;
23-
use Symfony\AI\Platform\ResultConverterInterface as PlatformResponseConverter;
23+
use Symfony\AI\Platform\ResultConverterInterface;
2424
use Symfony\Component\HttpClient\Chunk\ServerSentEvent;
2525
use Symfony\Component\HttpClient\EventSourceHttpClient;
2626
use Symfony\Contracts\HttpClient\ResponseInterface as HttpResponse;
2727

2828
/**
2929
* @author Mathieu Santostefano <[email protected]>
3030
*/
31-
final class ResultConverter implements PlatformResponseConverter
31+
final class ResultConverter implements ResultConverterInterface
3232
{
3333
public function supports(Model $model): bool
3434
{

src/platform/src/Bridge/Scaleway/Embeddings/ModelClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
use Symfony\AI\Platform\Bridge\Scaleway\Embeddings;
1515
use Symfony\AI\Platform\Exception\InvalidArgumentException;
1616
use Symfony\AI\Platform\Model;
17-
use Symfony\AI\Platform\ModelClientInterface as PlatformResponseFactory;
17+
use Symfony\AI\Platform\ModelClientInterface;
1818
use Symfony\AI\Platform\Result\RawHttpResult;
1919
use Symfony\Contracts\HttpClient\HttpClientInterface;
2020

2121
/**
2222
* @author Marcus Stöhr <[email protected]>
2323
*/
24-
final readonly class ModelClient implements PlatformResponseFactory
24+
final readonly class ModelClient implements ModelClientInterface
2525
{
2626
public function __construct(
2727
private HttpClientInterface $httpClient,

src/platform/src/Bridge/Scaleway/Llm/ResultConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
use Symfony\AI\Platform\Result\TextResult;
2424
use Symfony\AI\Platform\Result\ToolCall;
2525
use Symfony\AI\Platform\Result\ToolCallResult;
26-
use Symfony\AI\Platform\ResultConverterInterface as PlatformResultConverter;
26+
use Symfony\AI\Platform\ResultConverterInterface;
2727
use Symfony\Component\HttpClient\Chunk\ServerSentEvent;
2828
use Symfony\Component\HttpClient\EventSourceHttpClient;
2929
use Symfony\Component\HttpClient\Exception\JsonException;
@@ -32,7 +32,7 @@
3232
/**
3333
* @author Marcus Stöhr <[email protected]>
3434
*/
35-
final class ResultConverter implements PlatformResultConverter
35+
final class ResultConverter implements ResultConverterInterface
3636
{
3737
public function supports(Model $model): bool
3838
{

0 commit comments

Comments
 (0)