mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 03:33:48 +08:00
feat: download image which ai generated in dialog and replace the image url
This commit is contained in:
@@ -233,7 +233,7 @@ func (h *ChatHandler) sendOpenAiMessage(
|
||||
RoleId: role.Id,
|
||||
Type: types.ReplyMsg,
|
||||
Icon: role.Icon,
|
||||
Content: message.Content,
|
||||
Content: h.extractImgUrl(message.Content),
|
||||
Tokens: totalTokens,
|
||||
UseContext: useContext,
|
||||
Model: req.Model,
|
||||
|
||||
Reference in New Issue
Block a user