mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-26 03:44:58 +08:00
fix: tool call params in localagent
This commit is contained in:
@@ -185,7 +185,7 @@ class LocalAgentRunner(runner.RequestRunner):
|
|||||||
|
|
||||||
parameters = json.loads(func.arguments)
|
parameters = json.loads(func.arguments)
|
||||||
|
|
||||||
func_ret = await self.ap.tool_mgr.execute_func_call(query, func.name, parameters)
|
func_ret = await self.ap.tool_mgr.execute_func_call(func.name, parameters)
|
||||||
if is_stream:
|
if is_stream:
|
||||||
msg = provider_message.MessageChunk(
|
msg = provider_message.MessageChunk(
|
||||||
role='tool',
|
role='tool',
|
||||||
|
|||||||
Reference in New Issue
Block a user