bstraehle commited on
Commit
1a5cbf8
·
verified ·
1 Parent(s): 7e0d287

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +2 -2
assistants.py CHANGED
@@ -41,9 +41,9 @@ tools = {
41
  "tavily_search_tool": tavily_search_tool,
42
  }
43
 
44
- def set_openai_client(openai_api_key):
45
  global openai_client
46
- openai_client = OpenAI(api_key=openai_api_key)
47
 
48
  def set_assistant(a):
49
  global assistant
 
41
  "tavily_search_tool": tavily_search_tool,
42
  }
43
 
44
+ def set_openai_client():
45
  global openai_client
46
+ openai_client = OpenAI()
47
 
48
  def set_assistant(a):
49
  global assistant