mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-17 01:46:07 +00:00
fix(agent-runner): prepare local runner functional tests
This commit is contained in:
@@ -518,6 +518,10 @@ class LiteLLMRequester(requester.ProviderAPIRequester):
|
||||
if tools:
|
||||
args['tools'] = tools
|
||||
args.setdefault('tool_choice', 'auto')
|
||||
# LangBot owns tool discovery and execution. LiteLLM 1.92+
|
||||
# otherwise probes its optional MCP gateway for every tool call
|
||||
# and imports proxy-only dependencies such as FastAPI.
|
||||
args['_skip_mcp_handler'] = True
|
||||
|
||||
return args
|
||||
|
||||
|
||||
Reference in New Issue
Block a user