Skip to content

Commit

Permalink
Update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcarroll committed Oct 20, 2023
1 parent b659bd7 commit 2f00c4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ def test_Chatbot(openai_create):
openai_create.return_value = create_openai_object_sync(JOKE)
at.text_input(key="chatbot_api_key").set_value("sk-...")
at.chat_input[0].set_value("Do you know any jokes?").run()
# print(at)
print(at)
assert at.chat_message[1].markdown[0].value == "Do you know any jokes?"
assert at.chat_message[2].markdown[0].value == JOKE
assert at.chat_message[2].avatar == "assistant"
assert not at.exception
assert at.exception


@patch("langchain.llms.OpenAI.__call__")
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
streamlit-nightly >= 1.27.3.dev20231017
streamlit-nightly >= 1.27.3.dev20231019
langchain>=0.0.217
openai
duckduckgo-search
Expand Down

0 comments on commit 2f00c4d

Please sign in to comment.