fixed upload files #57
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
helallao/perplexity-ai!57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
could not uploads any files:
if the file was not an image - did not get secure_url, because the upload_resp request returned nothing and you need to use s3_object_url.
But for an image secure_url is returned: if the file is an image, you need to send a request to s3_bucket_url with all the necessary data, then from upload_resp we get secure_url and remove unnecessary data, then use the link for attachment.
Appreciated!