Small UX idea for LLM profile setup: can we add a ...
# proj-agent-canvas
a
Small UX idea for LLM profile setup: can we add a Test Connection button before Save? Right now, if the API key/model/provider details are wrong, the failure shows up later in a conversation, which can be frustrating because you may need to start over. A quick connectivity check could validate the key, provider, and model availability upfront.
➕ 1
g
So this does the check on the "save" instead of a "test connection" button. Not sure which way would be better.
👍 1
a
As long as I know before I leave the page and start the conversation, it works for me
👍 1
g
I'll have to finish this later, got to run to the dentist. I've got 2 approaches. The first has everything done in agent-canvas, the second adds an LLM verify endpoint to the agent server and has agent-canvas call this endpoint. I'm leaning towards option 2 at this point but will have both ready tonight.
OK, here is the PR for the agent-server: https://github.com/OpenHands/software-agent-sdk/pull/3410
Once that is merge/tagged/release, I'll have the agent-canvas PR ready.