MCPcopy Create free account
hub / github.com/BerriAI/litellm / executor

Function executor

tests/unit/test_tool_loop.py:74–76  ·  view source on GitHub ↗
(tc: ChatCompletionMessageToolCall)

Source from the content-addressed store, hash-verified

72 executor_called: Final = []
73
74 def executor(tc: ChatCompletionMessageToolCall) -> ChatCompletionToolMessage:
75 executor_called.append(tc)
76 return _tool_result(tc)
77
78 answer: Final = litellm.run_tool_loop(
79 model="openai/gpt-5-mini",

Callers 3

_generate_summaryFunction · 0.50
executeMethod · 0.50
_childFunction · 0.50

Calls 2

_tool_resultFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected