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

Knowledge - Trim leading spaces in knowledge website links. #320

Closed
sangee2004 opened this issue Oct 25, 2024 · 2 comments
Closed

Knowledge - Trim leading spaces in knowledge website links. #320

sangee2004 opened this issue Oct 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working knowledge

Comments

@sangee2004
Copy link

Steps to reproduce the problem:

  1. Create an agent with knowledge file from website having leading spaces like https://docs.gptscript.ai/
  2. Notice that this results in no sync being initiated and no error message presented to the user.
  3. When you close the webstite knowldege page and renter it , notice that the url has "https:\" appended to it - https:// https://docs.gptscript.ai/
Screenshot 2024-10-24 at 7 48 56 PM

Expected Behavior:
Trim leading spaces in knowledge website links before it gets saved.

@sangee2004 sangee2004 added bug Something isn't working knowledge labels Oct 25, 2024
@sangee2004
Copy link
Author

This issue is still seen when testing with latest version of builds:

Create an agent with knowledge file from website having leading spaces like https://docs.gptscript.ai/

This results in the following error:

Image

@sangee2004
Copy link
Author

Issue with leading spaces is addressed when testing with latest builds.

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