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

Trim spaces at the end of input text components #870

Open
leex279 opened this issue Dec 22, 2024 · 0 comments
Open

Trim spaces at the end of input text components #870

leex279 opened this issue Dec 22, 2024 · 0 comments

Comments

@leex279
Copy link

leex279 commented Dec 22, 2024

Describe the bug

If there is a space at the end of e.g. the Ollama Base URL, its not working and gives an error.

This should be easily prevented by adding an trim within the application code where it is used (or on saving).

See also: https://thinktank.ottomator.ai/t/new-install-bolt-diy-for-pc-best-guide-available-help-me-build-it/3096/15?u=leex279

Link to the Bolt URL that caused the error

doesnt matter

Steps to reproduce

Settings => Configure a base url with an space at the end

Expected behavior

working even with space at the end.

Screen Recording / Screenshot

https://thinktank.ottomator.ai/uploads/db4962/original/2X/1/1f7576f8eeb5643f4e2c9822a74c417926fe2fe5.png

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Provider Used

No response

Model Used

No response

Additional context

No response

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

1 participant