-
-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Validation error for Request calling createAndRun() #333
Labels
bug
Something isn't working
Comments
The minimum code to demonstrate the problem.
When I run "php assistant.php" I get
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I'm trying to use Assistants and Threads in order to benefit from the Code interpreter functionality.
Unfortunately I've failed at the second hurdle - using CreateAndRun
The first was realising that I didn't need to create an Assistant for each request.
My call is basically straight out of the book.
where
$this->assistant_id
is the ID of an assistant I've created either manually in OpenAI or using the API.An exception is produced but I do not know what to do to fix it.
Stack trace:
I do understand this could be a question for the OpenAI Community forum.
Someone's having a similar problem, well a similar message, at https://community.openai.com/t/api-calls-to-v1-threads-thread-id-messages-fails-with-file-and-file-ids/613781
The problem that I am trying to resolve by using Assistants is documented in bobbingwide/oik-ai#10
thanks in advance for any help, Herb
PS. The answer that I'm hoping to get is along the lines of "The timestamp 1706918400 corresponds to the date and time 2024-02-03 00:00:00 UTC."
Steps To Reproduce
OpenAI PHP Client Version
v0.8.4
PHP Version
8.3.0
Notes
Sorry, but I haven't yet created the minimum code to demonstrate this problem. I'm hoping someone's experienced something similar and can explain the error message.
The text was updated successfully, but these errors were encountered: