File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 20
20
use Symfony \AI \Platform \Result \ResultInterface ;
21
21
use Symfony \AI \Platform \Result \StreamResult ;
22
22
use Symfony \AI \Platform \Result \TextResult ;
23
- use Symfony \AI \Platform \ResultConverterInterface as PlatformResponseConverter ;
23
+ use Symfony \AI \Platform \ResultConverterInterface ;
24
24
use Symfony \Component \HttpClient \Chunk \ServerSentEvent ;
25
25
use Symfony \Component \HttpClient \EventSourceHttpClient ;
26
26
use Symfony \Contracts \HttpClient \ResponseInterface as HttpResponse ;
27
27
28
28
/**
29
29
* @author Mathieu Santostefano <[email protected] >
30
30
*/
31
- final class ResultConverter implements PlatformResponseConverter
31
+ final class ResultConverter implements ResultConverterInterface
32
32
{
33
33
public function supports (Model $ model ): bool
34
34
{
Original file line number Diff line number Diff line change 14
14
use Symfony \AI \Platform \Bridge \Scaleway \Embeddings ;
15
15
use Symfony \AI \Platform \Exception \InvalidArgumentException ;
16
16
use Symfony \AI \Platform \Model ;
17
- use Symfony \AI \Platform \ModelClientInterface as PlatformResponseFactory ;
17
+ use Symfony \AI \Platform \ModelClientInterface ;
18
18
use Symfony \AI \Platform \Result \RawHttpResult ;
19
19
use Symfony \Contracts \HttpClient \HttpClientInterface ;
20
20
21
21
/**
22
22
* @author Marcus Stöhr <[email protected] >
23
23
*/
24
- final readonly class ModelClient implements PlatformResponseFactory
24
+ final readonly class ModelClient implements ModelClientInterface
25
25
{
26
26
public function __construct (
27
27
private HttpClientInterface $ httpClient ,
Original file line number Diff line number Diff line change 23
23
use Symfony \AI \Platform \Result \TextResult ;
24
24
use Symfony \AI \Platform \Result \ToolCall ;
25
25
use Symfony \AI \Platform \Result \ToolCallResult ;
26
- use Symfony \AI \Platform \ResultConverterInterface as PlatformResultConverter ;
26
+ use Symfony \AI \Platform \ResultConverterInterface ;
27
27
use Symfony \Component \HttpClient \Chunk \ServerSentEvent ;
28
28
use Symfony \Component \HttpClient \EventSourceHttpClient ;
29
29
use Symfony \Component \HttpClient \Exception \JsonException ;
32
32
/**
33
33
* @author Marcus Stöhr <[email protected] >
34
34
*/
35
- final class ResultConverter implements PlatformResultConverter
35
+ final class ResultConverter implements ResultConverterInterface
36
36
{
37
37
public function supports (Model $ model ): bool
38
38
{
You can’t perform that action at this time.
0 commit comments