Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
fix: fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenlu committed Mar 28, 2023
1 parent 1304fd3 commit 2bf1b67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chatbot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async def ask_and_reply(
if chatbot:
pool.release_object(chatbot)

await callback_bot(webhook_url, response, conversation_type)
await callback_bot(webhook_url, response, conversation_type, sender_userid)


@app.post("/chat")
Expand Down Expand Up @@ -185,7 +185,7 @@ async def chat(message: DingtalkAskMessage, background_tasks: BackgroundTasks):
nickname,
sender_userid,
webhook_url,
message.conversationType,
conversation_type,
conversation_id,
conversation_title,
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "chatgpt-dingtalk-bot"
version = "0.4.5"
version = "0.4.6"
homepage = "https://github.com/anyidea/chatgpt-dingtalk-bot"
description = "A dingtalk chatbot powered by chatGPT.."
authors = ["Aiden Lu <[email protected]>"]
Expand Down

0 comments on commit 2bf1b67

Please sign in to comment.