From 1ab38dc113f79e01d3de9477e154db4ae8e32c9c Mon Sep 17 00:00:00 2001 From: Kyle Kelley Date: Mon, 4 Mar 2024 15:01:20 -0800 Subject: [PATCH] update the finalized model tool result --- chatlab/views/tools.py | 1 + tests/test_views.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/chatlab/views/tools.py b/chatlab/views/tools.py index 5f630ef..da01f8a 100644 --- a/chatlab/views/tools.py +++ b/chatlab/views/tools.py @@ -179,6 +179,7 @@ class ToolCalled(ToolArguments): arguments: str = "" verbage: str = "Called" result: str = "" + finished: bool = True def render(self): if self.custom_render is not None: diff --git a/tests/test_views.py b/tests/test_views.py index 3276471..1ced23c 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -46,5 +46,7 @@ def test_assistant_function_call_view_get(): "arguments": "you can do it", "result": "3.14159", "verbage": "Called", + "custom_render": None, + "finished": True }