We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b621bc commit 7a77610Copy full SHA for 7a77610
ui/src/components/ai-chat/component/chat-input-operate/index.vue
@@ -1239,7 +1239,7 @@ async function saveUrl() {
1239
async function processUrl(url: string) {
1240
try {
1241
const appId = props.appId || props.applicationDetails?.id;
1242
- const res = await imageApi.getFile(appId, {url});
+ const res = await imageApi.getFile(appId, {url})
1243
if (res.data['status_code'] !== 200) {
1244
MsgWarning(url + ' ' + t('chat.uploadFile.invalidUrl'));
1245
return;
@@ -1305,7 +1305,7 @@ async function saveUrl() {
1305
}
1306
} catch (e) {
1307
console.error(e);
1308
- MsgWarning(`${url} 无法访问`);
+ return
1309
1310
1311
0 commit comments