From 2cce3af42ba91411ae30ab19161581b8c0506361 Mon Sep 17 00:00:00 2001 From: marcomariscal Date: Tue, 26 Sep 2023 11:01:50 -0700 Subject: [PATCH] chore: order --- tools/index_widget.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/index_widget.py b/tools/index_widget.py index 999985e..505827f 100644 --- a/tools/index_widget.py +++ b/tools/index_widget.py @@ -396,10 +396,9 @@ def fn(token_handler): def generate_code(query: str) -> Callable: def fn(token_handler): tool = dict( + name="IndexGenerateCodeTool", type="tools.index_generate_code.IndexGenerateCodeTool", _streaming=True, - name="IndexGenerateCodeTool", - content_description="", # not used ) tool = streaming.get_streaming_tools([tool], token_handler)[0] tool._run(query)