Commit 27d6ba1e7f9a74fcf67dd4be1203d9179f35cb04

Authored by cherishsince
1 parent cf3c1458

【增加】手机mj异常信息,到后期统一处理。

yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/MessageUpdate-1.json 0 → 100644
  1 +{
  2 + "op": 0,
  3 + "s": 47,
  4 + "t": "MESSAGE_UPDATE",
  5 + "d": {
  6 + "mention_everyone": false,
  7 + "pinned": false,
  8 + "components": [],
  9 + "attachments": [
  10 + {
  11 + "filename": "97b1c75b-41c2-4dfe-bb7d-e61fbea8f1c7_grid_0.webp",
  12 + "size": 71390,
  13 + "content_type": "image/webp",
  14 + "width": 512,
  15 + "ephemeral": true,
  16 + "placeholder_version": 1,
  17 + "proxy_url": "https://media.discordapp.net/ephemeral-attachments/1234380679576424448/1234437493542359114/97b1c75b-41c2-4dfe-bb7d-e61fbea8f1c7_grid_0.webp?ex=6630bb01&is=662f6981&hm=60e610be44d3ae5fec8f1cbfb791997a627901d132a24e4364ac663362ab9a30&",
  18 + "placeholder": "XQgKBYJ8H3aDh3eHiAeIecB0Bsl2",
  19 + "id": "1234437493542359114",
  20 + "url": "https://cdn.discordapp.com/ephemeral-attachments/1234380679576424448/1234437493542359114/97b1c75b-41c2-4dfe-bb7d-e61fbea8f1c7_grid_0.webp?ex=6630bb01&is=662f6981&hm=60e610be44d3ae5fec8f1cbfb791997a627901d132a24e4364ac663362ab9a30&",
  21 + "height": 340
  22 + }
  23 + ],
  24 + "interaction_metadata": {
  25 + "user_id": "975372485971312700",
  26 + "interacted_message_id": "1234433732761620500",
  27 + "authorizing_integration_owners": {
  28 + "0": "1234355413420347402"
  29 + },
  30 + "id": "1234436261440126977",
  31 + "type": 3,
  32 + "user": {
  33 + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!",
  34 + "avatar_decoration_data": null,
  35 + "clan": null,
  36 + "public_flags": 0,
  37 + "id": "975372485971312700",
  38 + "avatar": "90ab939feddeaea32e23d066ce66d0e6",
  39 + "username": "andrakosq9211",
  40 + "discriminator": "0"
  41 + }
  42 + },
  43 + "author": {
  44 + "global_name": null,
  45 + "bot": true,
  46 + "avatar_decoration_data": null,
  47 + "clan": null,
  48 + "public_flags": 589824,
  49 + "id": "936929561302675456",
  50 + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76",
  51 + "username": "Midjourney Bot",
  52 + "discriminator": "9282"
  53 + },
  54 + "flags": 64,
  55 + "type": 19,
  56 + "mention_roles": [],
  57 + "application_id": "936929561302675456",
  58 + "edited_timestamp": "2024-04-29T09:33:53.172018+00:00",
  59 + "content": "**A girl from China, creator of ancient Chinese clothing, dances on the square --ar 3:2** - Pan Right by <@975372485971312700> (35%) (relaxed)",
  60 + "tts": false,
  61 + "webhook_id": "936929561302675456",
  62 + "mentions": [
  63 + {
  64 + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!",
  65 + "avatar_decoration_data": null,
  66 + "clan": null,
  67 + "public_flags": 0,
  68 + "id": "975372485971312700",
  69 + "avatar": "90ab939feddeaea32e23d066ce66d0e6",
  70 + "username": "andrakosq9211",
  71 + "discriminator": "0"
  72 + }
  73 + ],
  74 + "position": 0,
  75 + "message_reference": {
  76 + "guild_id": "1234355413420347402",
  77 + "message_id": "1234433732761620500",
  78 + "type": 0,
  79 + "channel_id": "1234380679576424448"
  80 + },
  81 + "id": "1234436266045608016",
  82 + "embeds": [],
  83 + "channel_id": "1234380679576424448",
  84 + "timestamp": "2024-04-29T09:29:00.542000+00:00"
  85 + }
  86 +}
0 87 \ No newline at end of file
... ...
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/nonce错误信息.json 0 → 100644
  1 +{
  2 + "op": 0,
  3 + "s": 24,
  4 + "t": "MESSAGE_UPDATE",
  5 + "d": {
  6 + "mention_everyone": false,
  7 + "pinned": false,
  8 + "components": [
  9 + {
  10 + "components": [
  11 + {
  12 + "emoji": {
  13 + "name": "upscale_1",
  14 + "id": "940147353879478324"
  15 + },
  16 + "custom_id": "MJ::JOB::upsample_v6_2x_subtle::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  17 + "style": 2,
  18 + "label": "Upscale (Subtle)",
  19 + "type": 2
  20 + },
  21 + {
  22 + "emoji": {
  23 + "name": "upscale_1",
  24 + "id": "940147353879478324"
  25 + },
  26 + "custom_id": "MJ::JOB::upsample_v6_2x_creative::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  27 + "style": 2,
  28 + "label": "Upscale (Creative)",
  29 + "type": 2
  30 + },
  31 + {
  32 + "emoji": {
  33 + "name": "🪄"
  34 + },
  35 + "custom_id": "MJ::JOB::low_variation::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  36 + "style": 2,
  37 + "label": "Vary (Subtle)",
  38 + "type": 2
  39 + },
  40 + {
  41 + "emoji": {
  42 + "name": "🪄"
  43 + },
  44 + "custom_id": "MJ::JOB::high_variation::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  45 + "style": 2,
  46 + "label": "Vary (Strong)",
  47 + "type": 2
  48 + },
  49 + {
  50 + "emoji": {
  51 + "name": "🖌️"
  52 + },
  53 + "custom_id": "MJ::Inpaint::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  54 + "style": 2,
  55 + "label": "Vary (Region)",
  56 + "type": 2
  57 + }
  58 + ],
  59 + "type": 1
  60 + },
  61 + {
  62 + "components": [
  63 + {
  64 + "emoji": {
  65 + "name": "🔍"
  66 + },
  67 + "custom_id": "MJ::Outpaint::50::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  68 + "style": 4,
  69 + "label": "Zoom Out 2x",
  70 + "type": 2
  71 + },
  72 + {
  73 + "emoji": {
  74 + "name": "🔍"
  75 + },
  76 + "custom_id": "MJ::Outpaint::75::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  77 + "style": 2,
  78 + "label": "Zoom Out 1.5x",
  79 + "type": 2
  80 + },
  81 + {
  82 + "emoji": {
  83 + "name": "🔍"
  84 + },
  85 + "custom_id": "MJ::CustomZoom::519cd956-d02e-4ae2-b62d-17c499dbbe3f",
  86 + "style": 2,
  87 + "label": "Custom Zoom",
  88 + "type": 2
  89 + }
  90 + ],
  91 + "type": 1
  92 + },
  93 + {
  94 + "components": [
  95 + {
  96 + "emoji": {
  97 + "name": "⬅️"
  98 + },
  99 + "custom_id": "MJ::JOB::pan_left::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  100 + "style": 2,
  101 + "type": 2
  102 + },
  103 + {
  104 + "emoji": {
  105 + "name": "➡️"
  106 + },
  107 + "custom_id": "MJ::JOB::pan_right::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  108 + "style": 2,
  109 + "type": 2
  110 + },
  111 + {
  112 + "emoji": {
  113 + "name": "⬆️"
  114 + },
  115 + "custom_id": "MJ::JOB::pan_up::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  116 + "style": 2,
  117 + "type": 2
  118 + },
  119 + {
  120 + "emoji": {
  121 + "name": "⬇️"
  122 + },
  123 + "custom_id": "MJ::JOB::pan_down::1::519cd956-d02e-4ae2-b62d-17c499dbbe3f::SOLO",
  124 + "style": 2,
  125 + "type": 2
  126 + }
  127 + ],
  128 + "type": 1
  129 + },
  130 + {
  131 + "components": [
  132 + {
  133 + "emoji": {
  134 + "name": "❤️"
  135 + },
  136 + "custom_id": "MJ::BOOKMARK::519cd956-d02e-4ae2-b62d-17c499dbbe3f",
  137 + "style": 2,
  138 + "type": 2
  139 + },
  140 + {
  141 + "style": 5,
  142 + "label": "Web",
  143 + "type": 2,
  144 + "url": "https://www.midjourney.com/app/jobs/519cd956-d02e-4ae2-b62d-17c499dbbe3f/"
  145 + }
  146 + ],
  147 + "type": 1
  148 + }
  149 + ],
  150 + "attachments": [
  151 + {
  152 + "filename": "andrakosq9211_A_girl_from_China_creator_of_ancient_Chinese_clot_519cd956-d02e-4ae2-b62d-17c499dbbe3f.png",
  153 + "size": 2014189,
  154 + "content_type": "image/png",
  155 + "width": 1024,
  156 + "placeholder_version": 1,
  157 + "proxy_url": "https://media.discordapp.net/attachments/1234380679576424448/1234433732341927976/andrakosq9211_A_girl_from_China_creator_of_ancient_Chinese_clot_519cd956-d02e-4ae2-b62d-17c499dbbe3f.png?ex=6630b780&is=662f6600&hm=8f273f74c29274431ec9b02bc4778a37ee944aa5360d10875cbbe512847b71c2&",
  158 + "placeholder": "YwgKDwKIWGiAiYd4iGh4d4h4mKz5uZwP",
  159 + "id": "1234433732341927976",
  160 + "url": "https://cdn.discordapp.com/attachments/1234380679576424448/1234433732341927976/andrakosq9211_A_girl_from_China_creator_of_ancient_Chinese_clot_519cd956-d02e-4ae2-b62d-17c499dbbe3f.png?ex=6630b780&is=662f6600&hm=8f273f74c29274431ec9b02bc4778a37ee944aa5360d10875cbbe512847b71c2&",
  161 + "height": 1024
  162 + }
  163 + ],
  164 + "author": {
  165 + "global_name": null,
  166 + "bot": true,
  167 + "avatar_decoration_data": null,
  168 + "clan": null,
  169 + "public_flags": 589824,
  170 + "id": "936929561302675456",
  171 + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76",
  172 + "username": "Midjourney Bot",
  173 + "discriminator": "9282"
  174 + },
  175 + "flags": 0,
  176 + "type": 19,
  177 + "mention_roles": [],
  178 + "edited_timestamp": "2024-04-29T09:19:12.812177+00:00",
  179 + "content": "**A girl from China, creator of ancient Chinese clothing, dances on the square** - Image #3 <@975372485971312700>",
  180 + "tts": false,
  181 + "mentions": [
  182 + {
  183 + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!",
  184 + "avatar_decoration_data": null,
  185 + "member": {
  186 + "premium_since": null,
  187 + "nick": null,
  188 + "joined_at": "2024-04-29T04:07:43.807000+00:00",
  189 + "communication_disabled_until": null,
  190 + "roles": [],
  191 + "pending": false,
  192 + "flags": 0,
  193 + "deaf": false,
  194 + "mute": false,
  195 + "avatar": null
  196 + },
  197 + "clan": null,
  198 + "public_flags": 0,
  199 + "id": "975372485971312700",
  200 + "avatar": "90ab939feddeaea32e23d066ce66d0e6",
  201 + "username": "andrakosq9211",
  202 + "discriminator": "0"
  203 + }
  204 + ],
  205 + "member": {
  206 + "premium_since": null,
  207 + "nick": null,
  208 + "joined_at": "2024-04-29T04:09:06.489349+00:00",
  209 + "communication_disabled_until": null,
  210 + "roles": [
  211 + "1234355760184561747"
  212 + ],
  213 + "pending": false,
  214 + "flags": 0,
  215 + "deaf": false,
  216 + "mute": false,
  217 + "avatar": null
  218 + },
  219 + "guild_id": "1234355413420347402",
  220 + "position": 0,
  221 + "message_reference": {
  222 + "guild_id": "1234355413420347402",
  223 + "message_id": "1234433346940043294",
  224 + "type": 0,
  225 + "channel_id": "1234380679576424448"
  226 + },
  227 + "id": "1234433732761620500",
  228 + "embeds": [
  229 + {
  230 + "color": 16711680,
  231 + "description": "Hey <@975372485971312700>\nYour job queue is full. Please wait for a job to finish first, then resubmit this one.\n*[Please check the bottom of the channel for more information.](https://discord.com/channels/1234355413420347402/1234380679576424448/1234433798599606315)*",
  232 + "type": "rich",
  233 + "url": "https://discord.com/channels/1234355413420347402/1234380679576424448/1234433798599606315"
  234 + }
  235 + ],
  236 + "channel_id": "1234380679576424448",
  237 + "timestamp": "2024-04-29T09:18:56.560000+00:00"
  238 + }
  239 +}
0 240 \ No newline at end of file
... ...
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/图片放大2倍.json 0 → 100644
  1 +{
  2 + "op": 0,
  3 + "s": 119,
  4 + "t": "MESSAGE_UPDATE",
  5 + "d": {
  6 + "mention_everyone": false,
  7 + "pinned": false,
  8 + "components": [],
  9 + "attachments": [],
  10 + "interaction_metadata": {
  11 + "user_id": "975372485971312700",
  12 + "interacted_message_id": "1234430088515293194",
  13 + "authorizing_integration_owners": {
  14 + "0": "1234355413420347402"
  15 + },
  16 + "id": "1234430127618658305",
  17 + "type": 3,
  18 + "user": {
  19 + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!",
  20 + "avatar_decoration_data": null,
  21 + "clan": null,
  22 + "public_flags": 0,
  23 + "id": "975372485971312700",
  24 + "avatar": "90ab939feddeaea32e23d066ce66d0e6",
  25 + "username": "andrakosq9211",
  26 + "discriminator": "0"
  27 + }
  28 + },
  29 + "author": {
  30 + "global_name": null,
  31 + "bot": true,
  32 + "avatar_decoration_data": null,
  33 + "clan": null,
  34 + "public_flags": 589824,
  35 + "id": "936929561302675456",
  36 + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76",
  37 + "username": "Midjourney Bot",
  38 + "discriminator": "9282"
  39 + },
  40 + "flags": 64,
  41 + "type": 19,
  42 + "mention_roles": [],
  43 + "application_id": "936929561302675456",
  44 + "edited_timestamp": "2024-04-29T09:06:37.616666+00:00",
  45 + "content": "**A girl from China, creator of ancient Chinese clothing, dances on the square** - Zoom Out by <@975372485971312700> (22%) (relaxed)",
  46 + "tts": false,
  47 + "webhook_id": "936929561302675456",
  48 + "mentions": [
  49 + {
  50 + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!",
  51 + "avatar_decoration_data": null,
  52 + "clan": null,
  53 + "public_flags": 0,
  54 + "id": "975372485971312700",
  55 + "avatar": "90ab939feddeaea32e23d066ce66d0e6",
  56 + "username": "andrakosq9211",
  57 + "discriminator": "0"
  58 + }
  59 + ],
  60 + "position": 0,
  61 + "message_reference": {
  62 + "guild_id": "1234355413420347402",
  63 + "message_id": "1234430088515293194",
  64 + "type": 0,
  65 + "channel_id": "1234380679576424448"
  66 + },
  67 + "id": "1234430128721887272",
  68 + "embeds": [],
  69 + "channel_id": "1234380679576424448",
  70 + "timestamp": "2024-04-29T09:04:37.290000+00:00"
  71 + }
  72 +}
0 73 \ No newline at end of file
... ...
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/并发队列满提示.json 0 → 100644
  1 +{
  2 + "op": 0,
  3 + "s": 5,
  4 + "t": "MESSAGE_CREATE",
  5 + "d": {
  6 + "mention_everyone": false,
  7 + "pinned": false,
  8 + "components": [],
  9 + "attachments": [],
  10 + "interaction_metadata": {
  11 + "user_id": "975372485971312700",
  12 + "name": "imagine",
  13 + "authorizing_integration_owners": {
  14 + "0": "1234355413420347402"
  15 + },
  16 + "id": "1234425115912179745",
  17 + "type": 2,
  18 + "user": {
  19 + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!",
  20 + "avatar_decoration_data": null,
  21 + "clan": null,
  22 + "public_flags": 0,
  23 + "id": "975372485971312700",
  24 + "avatar": "90ab939feddeaea32e23d066ce66d0e6",
  25 + "username": "andrakosq9211",
  26 + "discriminator": "0"
  27 + }
  28 + },
  29 + "author": {
  30 + "global_name": null,
  31 + "bot": true,
  32 + "avatar_decoration_data": null,
  33 + "clan": null,
  34 + "public_flags": 589824,
  35 + "id": "936929561302675456",
  36 + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76",
  37 + "username": "Midjourney Bot",
  38 + "discriminator": "9282"
  39 + },
  40 + "flags": 64,
  41 + "type": 20,
  42 + "mention_roles": [],
  43 + "nonce": "1234425114066419712",
  44 + "application_id": "936929561302675456",
  45 + "edited_timestamp": null,
  46 + "content": "",
  47 + "tts": false,
  48 + "webhook_id": "936929561302675456",
  49 + "mentions": [],
  50 + "interaction": {
  51 + "name": "imagine",
  52 + "id": "1234425115912179745",
  53 + "type": 2,
  54 + "user": {
  55 + "global_name": "禁止挂软件刷图,逮到删服务器,踢设备,永久拉黑!!!",
  56 + "avatar_decoration_data": null,
  57 + "clan": null,
  58 + "public_flags": 0,
  59 + "id": "975372485971312700",
  60 + "avatar": "90ab939feddeaea32e23d066ce66d0e6",
  61 + "username": "andrakosq9211",
  62 + "discriminator": "0"
  63 + }
  64 + },
  65 + "position": 0,
  66 + "id": "1234425117380182102",
  67 + "embeds": [
  68 + {
  69 + "content_scan_version": 0,
  70 + "color": 16239475,
  71 + "footer": {
  72 + "text": "/imagine Cartoon car"
  73 + },
  74 + "description": "You have reached the maximum allowed number of concurrent jobs. Don't worry, this job will start as soon as another one finishes!",
  75 + "type": "rich",
  76 + "title": "Job queued"
  77 + }
  78 + ],
  79 + "channel_id": "1234380679576424448",
  80 + "timestamp": "2024-04-29T08:44:42.493000+00:00"
  81 + }
  82 +}
0 83 \ No newline at end of file
... ...
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/imageGenerationProcess/队列满.json 0 → 100644
  1 +{
  2 + "op": 0,
  3 + "s": 34,
  4 + "t": "MESSAGE_CREATE",
  5 + "d": {
  6 + "mention_everyone": false,
  7 + "pinned": false,
  8 + "components": [
  9 + {
  10 + "components": [
  11 + {
  12 + "custom_id": "MJ::Job::Retry::64a7ec94-9607-492e-99ac-8550a4e7faf2",
  13 + "style": 2,
  14 + "label": "Resubmit",
  15 + "type": 2
  16 + }
  17 + ],
  18 + "type": 1
  19 + }
  20 + ],
  21 + "attachments": [],
  22 + "interaction_metadata": {
  23 + "user_id": "976067621160108072",
  24 + "name": "imagine",
  25 + "authorizing_integration_owners": {
  26 + "0": "1234483730148626542"
  27 + },
  28 + "id": "1234491017005105172",
  29 + "type": 2,
  30 + "user": {
  31 + "global_name": "Sequoiab",
  32 + "avatar_decoration_data": null,
  33 + "clan": null,
  34 + "public_flags": 0,
  35 + "id": "976067621160108072",
  36 + "avatar": "2ef47ed59695ff8bcdc2254f5189b70c",
  37 + "username": "sequoiab2281",
  38 + "discriminator": "0"
  39 + }
  40 + },
  41 + "author": {
  42 + "global_name": null,
  43 + "bot": true,
  44 + "avatar_decoration_data": null,
  45 + "clan": null,
  46 + "public_flags": 589824,
  47 + "id": "936929561302675456",
  48 + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76",
  49 + "username": "Midjourney Bot",
  50 + "discriminator": "9282"
  51 + },
  52 + "flags": 64,
  53 + "type": 20,
  54 + "mention_roles": [],
  55 + "nonce": "1234491015356743680",
  56 + "application_id": "936929561302675456",
  57 + "edited_timestamp": null,
  58 + "content": "",
  59 + "tts": false,
  60 + "webhook_id": "936929561302675456",
  61 + "mentions": [],
  62 + "interaction": {
  63 + "name": "imagine",
  64 + "id": "1234491017005105172",
  65 + "type": 2,
  66 + "user": {
  67 + "global_name": "Sequoiab",
  68 + "avatar_decoration_data": null,
  69 + "clan": null,
  70 + "public_flags": 0,
  71 + "id": "976067621160108072",
  72 + "avatar": "2ef47ed59695ff8bcdc2254f5189b70c",
  73 + "username": "sequoiab2281",
  74 + "discriminator": "0"
  75 + }
  76 + },
  77 + "position": 0,
  78 + "id": "1234491019211575376",
  79 + "embeds": [
  80 + {
  81 + "content_scan_version": 0,
  82 + "color": 16711680,
  83 + "footer": {
  84 + "text": "/imagine Doctor Strange vs. Ultraman --v 6"
  85 + },
  86 + "description": "Your job queue is full. Please wait for a job to finish first, then resubmit this one.",
  87 + "type": "rich",
  88 + "title": "Queue full"
  89 + }
  90 + ],
  91 + "channel_id": "1234490728575533057",
  92 + "timestamp": "2024-04-29T13:06:34.714000+00:00"
  93 + }
  94 +}
0 95 \ No newline at end of file
... ...