Allow to change llm models mid-conversation for AC...
# proj-agent-canvas
s
Allow to change llm models mid-conversation for ACP https://github.com/OpenHands/agent-canvas/pull/832 @chilly-france-44439 FYI Next step is figuring out how to make something similar to llm profile but with full acp agent configurations (Although we won't be able to do a full swap mid-conversation: only llm swap)
m
Just one question: do you have an other model menu specific for ACP models? Because the menu for profiles is slightly different and perhaps it is confusing (profiles everywhere)
s
yes you can also select your acp model in the settings in Agent with ACP enabled
Screenshot 2026-05-27 at 22.42.23.png
Next step is making ACP similar to llm profiles
m
Ah ok... you are actually speaking really about model and I about profiles. It start to be complicated
i was speaking about that but it is a different menu
s
That's why I want to simplify in a next PR and unify llm profiles and acp profiles > Next step is making ACP similar to llm profiles
nod 1
@modern-fireman-99755 issue to unify! https://github.com/OpenHands/agent-canvas/issues/840
m
Cool... I will give it a look
s
m
I checked out your branch and tested it using
npm install
and
npm run dev
. • I selected an ACP agent and performed a few actions. When I returned to settings, the LLM menu was visible. This is actually a bit strange because it should be disabled (though perhaps this is a nitpick for another PR). • I started a new conversation and sent a message, but the message hung until I pressed 'terminate/stop'. Only at that point was the answer displayed. • it seems to throw an error when I change profiles, but I'm not sure if this is just due to a misconfiguration on my end.
s
let me do the same flow
m
Should I put my API KEY in Secrets right? Because in the video I had just the one provided by openhands provider. So probably the third point is wrong (in the sense it is my fault) because of that.
s
You should have ANTHROPIC API KEY ANTHROPIC_BASE_URL in secrets (litellm proxy works fine) or locally it can auth if you have local claude code or codex too the llm settings gating in an issue that needs to be fixed though, but probably unrelated to this pr
m
Ah ok... Do we have a ANTHROPIC API KEY for testing?
s
Litellm works fine!
use litellm key with the correct url
nod 1