From 4199de498f20de8acad1008319dcbc3aa8490ed9 Mon Sep 17 00:00:00 2001 From: benshuk Date: Tue, 10 Dec 2024 15:52:49 +0200 Subject: [PATCH] chore: :truck: rename `internet_research` to `web_search` [EXEC-470] --- ai21/models/assistant/assistant.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai21/models/assistant/assistant.py b/ai21/models/assistant/assistant.py index 44c3ed06..cdb39f36 100644 --- a/ai21/models/assistant/assistant.py +++ b/ai21/models/assistant/assistant.py @@ -3,10 +3,10 @@ from typing_extensions import TypedDict Optimization = Literal["cost", "latency"] -Tool = Literal["rag", "internet_research", "plan_approval"] +Tool = Literal["rag", "web_search", "plan_approval"] class ToolResources(TypedDict, total=False): rag: Optional[dict] - internet_research: Optional[dict] + web_search: Optional[dict] plan_approval: Optional[dict]