From 392fbd84f3d99abb1f513095c49c4ca3ebc6e968 Mon Sep 17 00:00:00 2001 From: Drew Date: Tue, 10 Mar 2026 10:16:34 -0700 Subject: [PATCH] remove image file requirement for uploadFile (#248) --- .../.curated/chatgpt-apps/references/window-openai-patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/.curated/chatgpt-apps/references/window-openai-patterns.md b/skills/.curated/chatgpt-apps/references/window-openai-patterns.md index 550aab0..7f28a87 100644 --- a/skills/.curated/chatgpt-apps/references/window-openai-patterns.md +++ b/skills/.curated/chatgpt-apps/references/window-openai-patterns.md @@ -26,7 +26,7 @@ Load this reference when a task needs ChatGPT-only widget features, when transla - `window.openai.requestDisplayMode({ mode })`: request `inline`, `pip`, or `fullscreen` - `window.openai.requestModal({ params, template? })`: open a host-owned modal - `window.openai.requestClose()`: ask ChatGPT to close the widget -- `window.openai.uploadFile(file)`: upload an image file from the widget +- `window.openai.uploadFile(file)`: upload a file from the widget - `window.openai.getFileDownloadUrl({ fileId })`: resolve a temporary download URL - `window.openai.notifyIntrinsicHeight(...)`: report dynamic height changes - `window.openai.setOpenInAppUrl({ href })`: override the fullscreen punch-out target