From 196013bbae4e073091167fb2c4a61aa880a1a111 Mon Sep 17 00:00:00 2001 From: Kyla Levin <62115756+khlevin@users.noreply.github.com> Date: Wed, 11 Sep 2024 12:26:15 -0400 Subject: [PATCH] Update assistant.py Doesn't work with 4o --- src/chatdbg/assistant/assistant.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/chatdbg/assistant/assistant.py b/src/chatdbg/assistant/assistant.py index 570ff69..7051230 100644 --- a/src/chatdbg/assistant/assistant.py +++ b/src/chatdbg/assistant/assistant.py @@ -316,10 +316,6 @@ def _completion(self, stream=False): return litellm.completion( model=self._model, messages=self._conversation, - tools=[ - {"type": "function", "function": f["schema"]} - for f in self._functions.values() - ], timeout=self._timeout, logger_fn=self._logger, stream=stream,