mirror of
https://github.com/openai/skills.git
synced 2026-09-11 19:47:26 +03:00
remove image file requirement for uploadFile (#248)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user