Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Fix uploading file not working in Assistants, sometimes even causing crashes #264

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

irons163
Copy link

What

Uploading file not working in Assistants, sometimes even causing crashes.

Why

It seems that SwiftUI's refresh mechanism causes the DocumentPicker to be released before the delegate has a chance to work.

Affected Areas

The upload file selection UI (DocumentPicker) has slightly changed, as follows.

Before PR
Simulator Screenshot - iPhone 16 Pro - 2025-02-15 at 19 34 14 Simulator Screenshot - iPhone 16 Pro - 2025-02-15 at 19 39 57

More Info

Crash lnfo:
截圖 2025-02-15 晚上7 31 51

@nezhyborets
Copy link
Collaborator

Hi @irons163 . Great, thanks!

@nezhyborets nezhyborets merged commit 22e28b0 into MacPaw:main Feb 15, 2025
5 checks passed
wangqi pushed a commit to wangqi/OpenAI that referenced this pull request Feb 18, 2025
Bug: Fix uploading file not working in Assistants, sometimes even causing crashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants