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

ChatApp: need Context length exceeds limit exception #25

Open
scsonic opened this issue Dec 1, 2024 · 0 comments
Open

ChatApp: need Context length exceeds limit exception #25

scsonic opened this issue Dec 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scsonic
Copy link

scsonic commented Dec 1, 2024

In other frameworks like llama.cpp and executorch,
when the system prompt exceeds the context length limit, ex: 2048
an exception is raised.

However, ChatApp does not raise an exception.
If the input context is too long, it will display something like:

How and "A. 12, and: or  
own that 5:10  
The (And  
What  
image
@mestrona-3 mestrona-3 added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants