mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-17 09:56:06 +00:00
fix(agent-runner): prepare local runner functional tests
This commit is contained in:
@@ -715,6 +715,7 @@ class TestInvokeLLM:
|
||||
called_kwargs = litellmchat.acompletion.await_args.kwargs
|
||||
assert called_kwargs['tools'] == [{'type': 'function', 'function': {'name': 'get_weather'}}]
|
||||
assert called_kwargs['tool_choice'] == 'auto'
|
||||
assert called_kwargs['_skip_mcp_handler'] is True
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_build_completion_args_preserves_explicit_tool_choice(self):
|
||||
|
||||
Reference in New Issue
Block a user