I'm porting the model switcher to the canvas. In ...
# proj-agent-canvas
m
I'm porting the model switcher to the canvas. In the main app, the model name sits next to the title (
model_name_saas
img 1st). In the canvas, it's a button next to the tools.(
model_name_canvas
img 2end) I'm using that button for LLM profiles, but since I'm showing the profile name, we lose the specific model/proxy info. We show the model name because we can have two different profiles with same provider and same model but different settings. (
model_name_switch
img 3rd) Should we: • Follow the existing OpenHands layout? • Design a new way to display both the profile and model info in the canvas? Thoughts? cc @elegant-branch-54423 @hundreds-twilight-32833 @breezy-kilobyte-39430
h
Couple of ideas: • Yes, replace the model name with the profile name like in image 3 that shows the switcher • In the switcher can we do: ProfileName llm-longname... • Alt text on the profile name in the switcher so when I hover over the profile name in the chat switcher I see the longer specific model name We could then separately try and show the llm-longname at all times if needed whenever the profile is switched
c
since I'm showing the profile name, we lose the specific model/proxy info.
This seems OK to me. The user will name the profile as they wish, to understand what they are.
Is there a rename option? That would be handy
m
If I’m understanding this correctly, we’re not currently supporting LLM profiles for SaaS. This button should only be available when connecting to local backends and should not be displayed when connecting to cloud backends thankyou
m
Is there a rename option? That would be handy
@calm-artist-7206 there is a small video in this PR summary if you want to give a look: https://github.com/OpenHands/agent-canvas/pull/417
This button should only be available when connecting to local backends and should not be displayed when connecting to cloud backends thankyou
I think it is already the case, but I will double check. Thanks
c
Just for fun FWIW, in a fully local environment, my agent knows its own profiles store and I can also ask it, "hey on what proxy is your active profile"? 😅
Alt text on the profile name in the switcher so when I hover over
FWIW I like this one. Non intrusive... it makes sense to me
👍 1
m
Just for fun FWIW, in a fully local environment, my agent knows its own profiles store and I can also ask it, "hey on what proxy is your active profile"? 😅
You will be able to ask your agent which profile it is using and tell it to switch to another one.
👍 1
c
Yep, that is sniffs the air teh future comin' at us
😄 2
b
@modern-fireman-99755 I think Devin's suggestion is good. I'll take a look at what you do and may make a few tweaks. But give it a shot.
👍 1