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

Add a "check connection" button for API Services #436

Open
krschacht opened this issue Jun 25, 2024 · 2 comments
Open

Add a "check connection" button for API Services #436

krschacht opened this issue Jun 25, 2024 · 2 comments
Milestone

Comments

@krschacht
Copy link
Contributor

No description provided.

@krschacht krschacht added this to the 0.8 milestone Jun 25, 2024
@mattlindsey
Copy link
Contributor

I started working on this and think it makes more sense to put the Test button on the page for a Language Model.

Or we could have it on the API Service page and get the best model (or first one if no best) and try that, if you want.

@krschacht
Copy link
Contributor Author

Oh interesting, I see what you're saying. I forget who suggested this feature and exactly what context it came up, but looking at these pages it feels like these are both places where having a Test button could be helpful.

My suggestion would be to style it like the "How do I get?" text. So basically:

On the API Service editing screen, to the right of the "URL" text label would be blue underlined text that said "Test URL". This text would probably need to be greyed out or completely hidden until something had been entered into the text input since it doesn't make sense until text is entered, plus someone's attention will be drawn to it the moment it appears. Clicking this blue link could add additional default colored text afterwards which is simply "..." and then as soon as the test succeeds or fails the response appears afterwards.

On the Language Model screen this could be on the "API name" line.

So a completed test could look like this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants