Replies: 1 comment
use OpenAI\Responses\Threads\ThreadResponse;
OpenAI::fake([
ThreadResponse::fake([
'id' => 'thread_abc123'
])
]); |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The docs show this great way for testing
But is this working for Threads? I do not see the correct CreateResponse for Threads to use it this way.
Thanks!
All reactions