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 1212namespace Symfony \AI \Platform \Bridge \HuggingFace ;
1313
1414use Symfony \AI \Platform \Model ;
15- use Symfony \AI \Platform \ModelClientInterface as PlatformModelClient ;
15+ use Symfony \AI \Platform \ModelClientInterface ;
1616use Symfony \AI \Platform \Result \RawHttpResult ;
1717use Symfony \Component \HttpClient \EventSourceHttpClient ;
1818use Symfony \Contracts \HttpClient \HttpClientInterface ;
1919
2020/**
2121 * @author Christopher Hertel <mail@christopher-hertel.de>
2222 */
23- final readonly class ModelClient implements PlatformModelClient
23+ final readonly class ModelClient implements ModelClientInterface
2424{
2525 private EventSourceHttpClient $ httpClient ;
2626
Original file line number Diff line number Diff line change 3030use Symfony \AI \Platform \Result \ResultInterface ;
3131use Symfony \AI \Platform \Result \TextResult ;
3232use Symfony \AI \Platform \Result \VectorResult ;
33- use Symfony \AI \Platform \ResultConverterInterface as PlatformResponseConverter ;
33+ use Symfony \AI \Platform \ResultConverterInterface ;
3434use Symfony \AI \Platform \Vector \Vector ;
3535
3636/**
3737 * @author Christopher Hertel <mail@christopher-hertel.de>
3838 */
39- final readonly class ResultConverter implements PlatformResponseConverter
39+ final readonly class ResultConverter implements ResultConverterInterface
4040{
4141 public function supports (Model $ model ): bool
4242 {
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 PlatformResponseConverter ;
26+ use Symfony \AI \Platform \ResultConverterInterface ;
2727use Symfony \Component \HttpClient \Chunk \ServerSentEvent ;
2828use Symfony \Component \HttpClient \EventSourceHttpClient ;
2929use Symfony \Component \HttpClient \Exception \JsonException ;
3333 * @author Christopher Hertel <mail@christopher-hertel.de>
3434 * @author Denis Zunke <denis.zunke@gmail.com>
3535 */
36- final class ResultConverter implements PlatformResponseConverter
36+ final class ResultConverter implements ResultConverterInterface
3737{
3838 public function supports (Model $ model ): bool
3939 {
You can’t perform that action at this time.
0 commit comments