Replies: 3 comments 2 replies
-
|
When you create a new assistant thread, have you tried creating an initial user and assistant message using their API? https://platform.openai.com/docs/api-reference/messages/createMessage |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
simpel
-
|
How does that work in the new version 5? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello!
I'm sure this is obvious. How can I make the assistant start the conversation with the user? I'm using the https://chat.vercel.ai/ codebase and I just want the assistant to start the conversation with the user instead of the user having to make the first move.
Of course I can just "fake it" in the UI but I want the thread to be aware of this first message. Just adding it to the messages array doesn't seen to do it. Like this:
Beta Was this translation helpful? Give feedback.
All reactions