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

Your JSON output has errors. Missing elements: #407

Open
dasuni1999 opened this issue Sep 12, 2024 · 1 comment
Open

Your JSON output has errors. Missing elements: #407

dasuni1999 opened this issue Sep 12, 2024 · 1 comment

Comments

@dasuni1999
Copy link

Hi,
Every time a new session is started, and the very first question is asked, I get the following error:
ERRIR

I've noticed the llm output is empty initially.. and then ultimately it comes up:
image

However, this error never comes up when I ask the second question.

Wonder whether there's a way to avoid this invalid response error happening the very first time a question is being asked?

@liqul
Copy link
Contributor

liqul commented Sep 12, 2024

Thanks for raising this issue.

Which LLM model are you using? could you try to do some debuging to check if this is a problem of the LLM endpoint, i.e., to see if the endpoint has valid response but failed to pass into Taskweaver? If it is a bug of Taskweaver, we can fix it, but we need to rule out the issue from the endpoint.

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