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 2020use Symfony \AI \Platform \Result \ResultInterface ;
2121use Symfony \AI \Platform \Result \StreamResult ;
2222use Symfony \AI \Platform \Result \TextResult ;
23- use Symfony \AI \Platform \ResultConverterInterface as PlatformResponseConverter ;
23+ use Symfony \AI \Platform \ResultConverterInterface ;
2424use Symfony \Component \HttpClient \Chunk \ServerSentEvent ;
2525use Symfony \Component \HttpClient \EventSourceHttpClient ;
2626use Symfony \Contracts \HttpClient \ResponseInterface as HttpResponse ;
2727
2828/**
2929 * @author Mathieu Santostefano <msantostefano@proton.me>
3030 */
31- final class ResultConverter implements PlatformResponseConverter
31+ final class ResultConverter implements ResultConverterInterface
3232{
3333 public function supports (Model $ model ): bool
3434 {
Original file line number Diff line number Diff line change 1414use Symfony \AI \Platform \Bridge \Scaleway \Embeddings ;
1515use Symfony \AI \Platform \Exception \InvalidArgumentException ;
1616use Symfony \AI \Platform \Model ;
17- use Symfony \AI \Platform \ModelClientInterface as PlatformResponseFactory ;
17+ use Symfony \AI \Platform \ModelClientInterface ;
1818use Symfony \AI \Platform \Result \RawHttpResult ;
1919use Symfony \Contracts \HttpClient \HttpClientInterface ;
2020
2121/**
2222 * @author Marcus Stöhr <marcus@fischteich.net>
2323 */
24- final readonly class ModelClient implements PlatformResponseFactory
24+ final readonly class ModelClient implements ModelClientInterface
2525{
2626 public function __construct (
2727 private HttpClientInterface $ httpClient ,
Original file line number Diff line number Diff line change 2323use Symfony \AI \Platform \Result \TextResult ;
2424use Symfony \AI \Platform \Result \ToolCall ;
2525use Symfony \AI \Platform \Result \ToolCallResult ;
26- use Symfony \AI \Platform \ResultConverterInterface as PlatformResultConverter ;
26+ use Symfony \AI \Platform \ResultConverterInterface ;
2727use Symfony \Component \HttpClient \Chunk \ServerSentEvent ;
2828use Symfony \Component \HttpClient \EventSourceHttpClient ;
2929use Symfony \Component \HttpClient \Exception \JsonException ;
3232/**
3333 * @author Marcus Stöhr <marcus@fischteich.net>
3434 */
35- final class ResultConverter implements PlatformResultConverter
35+ final class ResultConverter implements ResultConverterInterface
3636{
3737 public function supports (Model $ model ): bool
3838 {
You can’t perform that action at this time.
0 commit comments