Skip to content

Add file upload support#221

Merged
rgbkrk merged 4 commits intomainfrom
file-upload
Nov 4, 2025
Merged

Add file upload support#221
rgbkrk merged 4 commits intomainfrom
file-upload

Conversation

@markmiro
Copy link
Contributor

This change mirrors what's in:
runtimed/intheloop#645

The main differences:

  • Sending files within initializePyodideWorker() rather than after
  • Added artifactBaseUrl to worker message
  • Update schema version to support files

@markmiro markmiro marked this pull request as ready for review October 29, 2025 21:09
@markmiro markmiro requested a review from rgbkrk October 29, 2025 21:09
@@ -112,6 +113,76 @@ await run_registered_tool("${data.toolName}", kwargs_string)
break;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this code shared with the intheloop packages which we could be importing here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we'd share the code. I know there's a lot that similar between run and intheloop now

@rgbkrk rgbkrk merged commit f5af77e into main Nov 4, 2025
7 checks passed
@rgbkrk rgbkrk deleted the file-upload branch November 4, 2025 01:09
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