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

Assistant API responses always answer the previous question. #17

Open
jkanalakis opened this issue Aug 1, 2024 · 2 comments
Open

Assistant API responses always answer the previous question. #17

jkanalakis opened this issue Aug 1, 2024 · 2 comments

Comments

@jkanalakis
Copy link

In the sample project, I only set the OpenAI Key and Assistant API identifier. Every user prompt sent receives the answer to the previous prompt. Here's a visual example:

simulator_screenshot_0E4E7C4B-CF1C-4447-B8F9-CE4EAFE26AE2

@shipinev
Copy link
Member

shipinev commented Aug 1, 2024

Hi @jkanalakis. I'm currently focusing on API client features, so it might take a bit more time to address your issue. Let me contact my colleagues to check on an example project.

@shipinev
Copy link
Member

shipinev commented Aug 2, 2024

Hey John. I made some adjustments to the example project code, specifically regarding the message listing payload. Please let me know if it works correctly for you as well.

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

No branches or pull requests

2 participants