Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🍞 fix: don't show 'deleting file' toast on attached files (#13239)

Dan Lewa865d404310f
diff --git a/client/src/components/Chat/Input/Files/FileRow.tsx b/client/src/components/Chat/Input/Files/FileRow.tsx
index bf04b16ade..27bef5526d 100644
--- a/client/src/components/Chat/Input/Files/FileRow.tsx
+++ b/client/src/components/Chat/Input/Files/FileRow.tsx
@@ -115,7 +115,7 @@ export default function FileRow({
if (abortUpload && file.progress < 1) {
abortUpload();
}
- if (file.progress >= 1) {
+ if (file.progress >= 1 && !file.attached) {
showToast({
message: localize('com_ui_deleting_file'),
status: 'info',