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

Local Endpoint Url Cannot Be Changed #85

Open
JasonBates opened this issue Dec 7, 2024 · 5 comments
Open

Local Endpoint Url Cannot Be Changed #85

JasonBates opened this issue Dec 7, 2024 · 5 comments

Comments

@JasonBates
Copy link

Describe the bug

Enabling the local API endpoints brings up the Local Endpoint URL box with the default text of 'http://localhost:1234' ... Unfortunately this text cannot be selected or edited.

An error is reported in the console as:

plugin:systemsculpt-ai:181 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'pricing')
at I4 (plugin:systemsculpt-ai:181:310)
at I9.displayTokenCount (plugin:systemsculpt-ai:181:1372)
at Q2.updateTokenCountAndCost (plugin:systemsculpt-ai:251:22704)
at async Q2.updateTokenCount (plugin:systemsculpt-ai:257:2409)
at async t9.eval (plugin:systemsculpt-ai:251:12457)

Environment

  • OS: macos
  • SystemSculpt AI Version: Latest (Please ensure you're using the latest version before submitting)

To Reproduce

  1. Open SystemSculpt AI settings.
  2. Enable local API endpoint toggle
  3. Attempt to change the local endpoint by typing in the text box
@astoeffer
Copy link

If you have the latest plugin version try copy & paste. That worked for me.

@hazzardr
Copy link

hazzardr commented Jan 11, 2025

I am seeing the same issue on a fresh install (also mac, plugin version 0.7.0). Unfortunately copy / paste does not work for me

@SystemSculpt
Copy link
Owner

Hey everyone, please make sure that you are actually filling it in rather than leaving the placeholder in there because that's just to be used as an example of how it should be structured rather than actually being functioning text. You have to actually type out, even if it's the same thing, you have to type out http://localhost://1234, for example, if you're using LLM Studio or the Ollama equivalent version of that. I should probably make that more apparent, but this will definitely be fixed in the next version anyway.

@JasonBates
Copy link
Author

JasonBates commented Jan 11, 2025

Thanks for the note. I'm aware that you have the change the URL:://port. The bug reported is that I'm prevented from changing the text within that text box. I select the box, type a few characters, which are in a dark grey, but before finishing typing the URL I want to use and I'm kicked out of the text box and the previous default text reappears.

So it's not that I don't know the local URL and port to use. I just can't change it in the text box .. lolz

Copying and pasting the address into the box does seem to work for me (thanks @hazzardr )

@hazzardr
Copy link

I had to right click paste as well, command V didn't do anything. Perhaps keyboard events in the input field are causing issues?

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

4 participants