client
client copied to clipboard
[Question] What's the best way to fake OpenAI::threads()->runs()->createStreamed() response
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'););
]);