Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +2 -2
assistants.py
CHANGED
@@ -9,8 +9,8 @@ from tavily import TavilyClient
|
|
9 |
from typing import List
|
10 |
from utils import function_to_schema, show_json
|
11 |
|
12 |
-
openai_client = OpenAI()
|
13 |
-
tavily_client = TavilyClient()
|
14 |
|
15 |
assistant_id = "asst_DbCpNsJ0vHSSdl6ePlkKZ8wG"
|
16 |
|
|
|
9 |
from typing import List
|
10 |
from utils import function_to_schema, show_json
|
11 |
|
12 |
+
openai_client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
13 |
+
tavily_client = TavilyClient(api_key=os.environ.get("TAVILY_API_KEY"))
|
14 |
|
15 |
assistant_id = "asst_DbCpNsJ0vHSSdl6ePlkKZ8wG"
|
16 |
|