client icon indicating copy to clipboard operation
client copied to clipboard

[Question] What's the best way to fake OpenAI::threads()->runs()->createStreamed() response

Open sahanh opened this issue 7 months ago • 0 comments

Following the approach shared for testing in other areas, I can't seems to find a class to fake ThreadRunStreamedResponse

$client = new ClientFake([
    CreateStreamedResponse::fake(fopen('file.txt', 'r'););
]);

sahanh avatar Jul 16 '24 21:07 sahanh