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

bug: [API] chat completions #1852

Closed
LeGitHubDeTai opened this issue Jan 29, 2024 · 4 comments
Closed

bug: [API] chat completions #1852

LeGitHubDeTai opened this issue Jan 29, 2024 · 4 comments
Assignees
Labels
status: duplicate This issue or pull request already exists type: bug Something isn't working
Milestone

Comments

@LeGitHubDeTai
Copy link

Steps to reproduce
Make an API request with the stream mode set to true.

Expected behavior
When I make a request to v1/chat/completions with the stream mode set to true, everything works correctly. However, when it is set to false, the computer becomes overloaded, and no response is received from the API (worked in 0.4.4).

Environment details
Operating System: Windows 11
Jan Version: 0.4.5
Processor: Intel Core i9
RAM: 64GB
Any additional relevant hardware specifics: RTX 3090

@LeGitHubDeTai LeGitHubDeTai added the type: bug Something isn't working label Jan 29, 2024
@Van-QA
Copy link
Contributor

Van-QA commented Jan 30, 2024

hi @LeGitHubDeTai, sorry for the inconvenience. The issue may be related to this janhq/cortex#391. which we are still working on it.

@Van-QA Van-QA added the status: duplicate This issue or pull request already exists label Jan 30, 2024
@LeGitHubDeTai
Copy link
Author

ow my bad sorry

@Van-QA Van-QA assigned Van-QA and unassigned louis-jan Jan 31, 2024
@Van-QA
Copy link
Contributor

Van-QA commented Feb 1, 2024

hi @LeGitHubDeTai, we resolved the issue, and I tested both UI and the curl with Stream = false ✅ Jan v0.4.5-215
image
Feel free to reopen this if the issue persists.

@Van-QA Van-QA closed this as completed Feb 1, 2024
@Van-QA Van-QA added this to the v0.4.6 milestone Feb 1, 2024
@LeGitHubDeTai
Copy link
Author

thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate This issue or pull request already exists type: bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants