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]: Chat limited to 256 tokens #1706

Closed
StanGirard opened this issue Nov 24, 2023 · 2 comments
Closed

[Bug]: Chat limited to 256 tokens #1706

StanGirard opened this issue Nov 24, 2023 · 2 comments
Assignees
Labels
area: frontend Related to frontend functionality or under the /frontend directory bug Something isn't working

Comments

@StanGirard
Copy link
Collaborator

What happened?

A bug happened!

image

Chat unplug limited to 256 tokens

image

Relevant log output

Up

Twitter / LinkedIn details

No response

@StanGirard StanGirard added the bug Something isn't working label Nov 24, 2023
@StanGirard
Copy link
Collaborator Author

@mamadoudicko

@dosubot dosubot bot added the area: frontend Related to frontend functionality or under the /frontend directory label Nov 24, 2023
Copy link

dosubot bot commented Nov 24, 2023

🤖

Hello again, @StanGirard! It's good to see you here. I hope you're having a productive day!

I see that you're encountering an issue with the chat being limited to 256 tokens. This seems to be a known issue, as there was a similar one reported previously in the Quivr repository. You can find more details about it here. The issue was addressed in this pull request and the related commit can be found here.

The current token limit in the Quivr codebase varies depending on the model being used. For models "gpt-3.5-turbo" and "gpt-3.5-turbo-1106", the limit is 2000 tokens. For "gpt-3.5-turbo-16k" and "gpt-4", the limit is 4000 tokens. The default limit is set to 1000 tokens for other models. You can find more details about this in the defaultBrainConfig.ts and defineMaxTokens.ts files.

Unfortunately, I couldn't find the exact error message that is displayed when the token limit is reached within the repository. It would be helpful if you could provide more information about the operations you're performing when you encounter this limit. This could help in identifying the source of the issue.

Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: frontend Related to frontend functionality or under the /frontend directory bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants