Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +2 -3
assistants.py
CHANGED
@@ -9,13 +9,12 @@ from tavily import TavilyClient
|
|
9 |
from typing import List
|
10 |
from utils import function_to_schema, show_json
|
11 |
|
12 |
-
openai_client =
|
|
|
13 |
tavily_client = TavilyClient(api_key=os.environ.get("TAVILY_API_KEY"))
|
14 |
|
15 |
assistant_id = "asst_DbCpNsJ0vHSSdl6ePlkKZ8wG"
|
16 |
|
17 |
-
assistant, thread = None, None
|
18 |
-
|
19 |
def today_tool() -> str:
|
20 |
"""Returns today's date. Use this function for any questions related to knowing today's date.
|
21 |
There should be no input. This function always returns today's date."""
|
|
|
9 |
from typing import List
|
10 |
from utils import function_to_schema, show_json
|
11 |
|
12 |
+
openai_client, assistant, thread = None, None, None
|
13 |
+
|
14 |
tavily_client = TavilyClient(api_key=os.environ.get("TAVILY_API_KEY"))
|
15 |
|
16 |
assistant_id = "asst_DbCpNsJ0vHSSdl6ePlkKZ8wG"
|
17 |
|
|
|
|
|
18 |
def today_tool() -> str:
|
19 |
"""Returns today's date. Use this function for any questions related to knowing today's date.
|
20 |
There should be no input. This function always returns today's date."""
|