Fix unsupported MCP tools param (#8610)

This commit is contained in:
Engel Nyst
2025-05-21 16:41:01 +02:00
committed by GitHub
parent 37e9933092
commit c26ef180f2
3 changed files with 46 additions and 23 deletions

View File

@@ -279,9 +279,6 @@ class LLM(RetryMixin, DebugMixin):
# Record start time for latency measurement
start_time = time.time()
# we don't support streaming here, thus we get a ModelResponse
logger.debug(
f'LLM: calling litellm completion with model: {self.config.model}, base_url: {self.config.base_url}, args: {args}, kwargs: {kwargs}'
)
resp: ModelResponse = self._completion_unwrapped(*args, **kwargs)
# Calculate and record latency