GianJSX commited on
Commit
d2073e1
Β·
1 Parent(s): 2366517

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ async def setup_agent(settings):
59
  temperature=settings["Temperature"],
60
  streaming=settings["Streaming"],
61
  model=settings["Model"],
62
- api_key=cl.user_session.get("api_key"),
63
  )
64
 
65
  # We get our memory here, which is used to track the conversation history.
 
59
  temperature=settings["Temperature"],
60
  streaming=settings["Streaming"],
61
  model=settings["Model"],
62
+ openai_api_key=cl.user_session.get("api_key"),
63
  )
64
 
65
  # We get our memory here, which is used to track the conversation history.