Three PRs to add a tool allowing the agent to swit...
# proj-agent
l
Three PRs to add a tool allowing the agent to switch its own LLM: • Add LLM profile switch tool by neubig · Pull Request #3188 · OpenHands/software-agent-sdk • feat(sdk): gate switch llm default tool by neubig · Pull Request #3190 · OpenHands/software-agent-sdk • docs: document SDK switch LLM example by neubig · Pull Request #499 · OpenHands/docs I think this will allow some cool things like workflows where you tell it to plan with GPT-5, but then switch to minimax for implementation, and switch back to GPT-5 if it gets stuck cc @modern-fireman-99755
🙌 3
❤️ 1
m
Left a couple of comments otherwise LGTM. One point I'm concerned if this tool should be or not built-in. It seems to make sense that it is built-in but on the other hand, it is easier to AB-test (or just to test) if it is in
openhands.tools
.
I saw now the pr: https://github.com/OpenHands/software-agent-sdk/pull/3190/changes#diff-9264efc3ba7264a847fef38c8c0fc5720ac77e58ff9c91187c04368b2bbacf5eR809-R812 where you have a flag to enable or not LLM switch. So i think my previous comment is not anymore relevant
l
Thanks! The reason why I thought it should probably be built in is because it manipulates the internals of the agent itself.
👍 1