Skip to content

Commit 5bf3bf4

Browse files
committed
build: add python sdk beta release to requirements.txt
1 parent 2acdaf4 commit 5bf3bf4

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Configures the new Slack Assistant features, providing a dedicated side panel UI
8484
* The `@assistant.thread_started` listener receives an event when users start new app thread.
8585
* The `@assistant.user_message` listener processes user messages in app threads or from the app **Chat** and **History** tab.
8686

87-
`llm_caller.py`, which handles OpenAI API integration and message formatting. It includes the `call_llm()` function that sends conversation threads to OpenAI's models and converts markdown responses to Slack-compatible formatting.
87+
`llm_caller.py`, which handles OpenAI API integration and message formatting. It includes the `call_llm()` function that sends conversation threads to OpenAI's models.
8888

8989
## App Distribution / OAuth
9090

listeners/assistant/assistant.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ def respond_in_assistant_thread(
9393
stream_ts = stream_response["ts"]
9494
# use of this for loop is specific to openai response method
9595
for event in returned_message:
96-
print(f"\n{event.type}")
9796
if event.type == "response.output_text.delta":
9897
client.chat_appendStream(channel=channel_id, ts=stream_ts, markdown_text=f"{event.delta}")
9998
else:

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
--extra-index-url=https://test.pypi.org/simple/
2+
slack_sdk==3.36.0.dev0
13
slack-bolt>=1.21,<2
24
slack-cli-hooks<1.0.0
3-
slack_sdk==3.36.0.dev0
5+
46
# If you use a different LLM vendor, replace this dependency
57
openai
68

0 commit comments

Comments
 (0)