Replies: 1 comment
-
use OpenAI\Responses\Threads\ThreadResponse;
OpenAI::fake([
ThreadResponse::fake([
'id' => 'thread_abc123'
])
]); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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!
Beta Was this translation helpful? Give feedback.
All reactions