mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
perf: 回复图片时带上prompt #70
This commit is contained in:
parent
bb151c3c1c
commit
88ec74c0a4
|
@ -140,7 +140,7 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str) ->
|
|||
res = session.draw_image(" ".join(params))
|
||||
|
||||
logging.debug("draw_image result:{}".format(res))
|
||||
reply = [Image(url=res['data'][0]['url'])]
|
||||
reply = [Image(url=res['data'][0]['url']), " ".join(params)]
|
||||
except Exception as e:
|
||||
mgr.notify_admin("{}指令执行失败:{}".format(session_name, e))
|
||||
logging.exception(e)
|
||||
|
|
Loading…
Reference in New Issue
Block a user