-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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]: Response could not be completed #1575
Comments
Just to confirm, you are getting this error when trying to use the youtube transcript data connector, correct? If so, this is most likely something wrong with the youtube link you are providing. If you share the link here with me I can take a look at it for you. |
This video for example: https://youtu.be/XwL_cRuXM2E?si=UdD6Atjk5HBRjMEg Also when I want to use the agent in the chat it says that the agent session starter and then after a while thet it ended but I get no response. When I ask the same question again the same thing happens and when I refresh the site the output is there but only from the first question. |
You are using a shortened version of the youtube video link. It needs to be in this format: https://www.youtube.com/watch?v=XwL_cRuXM2E&ab_channel=bycloud. You can get that link by just visiting the shortened link in your browser and it will expand to the full link. Also, try using another LLM provider as your agent provider to see if it fixes the issue. It is highly likely the agent is getting stuck because of the quality of model you are using. |
That doesn't fix it I get the same error with the long URL. |
@shatfield4 The Youtube link collector works with both types of YT URLS anything-llm/collector/utils/extensions/YoutubeTranscript/index.js Lines 16 to 20 in 9a38b32
If @shatfield4 can scrape the URL and @TheSirTigerr cannot then something else is going on. Additionally, is the docker container running with |
I have a Ubuntu VM on digitalocean. How can I check if I have |
When you started the docker container in the ubuntu VM you would have to run some kind of docker command like |
I'm seeing a similar issue on Windows 10. (No docker containers.) I can get transcripts for some channels, such as https://www.youtube.com/watch?v=O5GY7_aVBtk But other channels fail, such as https://www.youtube.com/watch?v=V9KJ7nvhRWk I did confirm that Youtube shows a transcript for that video. This seems to be across all videos in a channel. |
Do you know if the docker container is using a proxy or anything to reach your container? Some providers will do this and it makes using websockets (which is how agents work) unusable until worked around. I think that may be what is happening here? You can also check to see if in the frontend network requests if the websocket connection is attempting to reach |
It sends the |
When you have the Nginx proxy running - do you have an allowance for WSS to connect?
|
How are you running AnythingLLM?
Docker (remote machine)
What happened?
I have Anything-LLM on my server in a Docker and ollama i also have on this server.
When i try to import Youtube Transcript i get this error: "Response could not be completed"
How can i solve this? and when i use the agend it shows that it is finished but i dont get any response in the chat
Are there known steps to reproduce?
No response
The text was updated successfully, but these errors were encountered: