Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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.
|