mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 03:33:48 +08:00
add prompt translating function for mobile midjourney page
This commit is contained in:
@@ -276,6 +276,7 @@ func (h *ChatHandler) sendOpenAiMessage(
|
||||
var res types.ApiError
|
||||
err = json.Unmarshal(body, &res)
|
||||
if err != nil {
|
||||
logger.Debug(string(body))
|
||||
return fmt.Errorf("error with decode response: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user