<?php

declare(strict_types=1);

namespace KimaAI\Ai\Providers\Contracts;

use KimaAI\Ai\Providers\DTO\ChatRequest;
use KimaAI\Ai\Providers\DTO\StreamChunk;

interface StreamingChatClientInterface {
  /**
   * Stream chat response chunks.
   *
   * @return iterable<StreamChunk>
   */
  public function streamChat(ChatRequest $request): iterable;
}
