Skip to content
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

Body may only contain the assistant.id #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OriPekelman
Copy link

When I tried using the project I encountered exceptions in run.ts in prisma.run.create complaining that instructions and model are not set (in effect in my API call using the official OpenAI Python client the instructions and models are not passed, only the assistant_id).
My calling code is as follows:

        run = self.client.beta.threads.runs.create(thread_id=thread_id, assistant_id=self.assistant_id)

I believe it is more correct to read those from the assistant that has already been created and hydrated a few lines above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant