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

KnowledgeTool call fails with status code: 502, message: invalid character '<' looking for beginning of value #503

Open
sangee2004 opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working knowledge

Comments

@sangee2004
Copy link

Electron build - 8809ed131d32dc

Steps to reproduce the problem:

  1. Chat with Tildy
  2. Added Travel plan pdf as Thread knowledge.
  3. Ask about day 6 travel plan.
  4. Got a response as expected.
  5. Asked about day 8 travel plan and provide citations.

I was stuck in Calling tool KnowledgeRetreival state for a very long time like many minutes
Screenshot 2024-09-11 at 3 54 08 PM

After this I got a response back.

But from Stack trace , i can see the that tool call to KnowledgeRetreival failed with these errors:

ERROR: got (exit status 1) while running tool, OUTPUT: 2024/09/11 15:50:17 INFO Retrieving sources for query query="{\"query\":\"Day 8 travel plan\"}" datasets="[od3kep 0]" 2024/09/11 15:56:51 failed to modify queries [{"query":"Day 8 travel plan"}] with QueryModifier "enhance": All attempts fail: #1: error, status code: 502, message: invalid character '<' looking for beginning of value
Screenshot 2024-09-11 at 4 08 55 PM Screenshot 2024-09-11 at 4 08 11 PM
@sangee2004 sangee2004 added the bug Something isn't working label Sep 11, 2024
@sangee2004
Copy link
Author

There was another time when this same query succeeded after a very long time.
This time stack trace shows first attempt of KnowledgeRetreival tool call fail and the 2nd attempt succeed

Screenshot 2024-09-11 at 5 07 05 PM

@iwilltry42 iwilltry42 self-assigned this Sep 13, 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 knowledge
Projects
None yet
Development

No branches or pull requests

2 participants