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

Add cloudflare wasm worker example #178

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

ifsheldon
Copy link
Contributor

This adds a working cloudflare wasm worker example.

A remaining issue is that this example must be moved out of the parent async-openai directory to get compiled, because cargo resolves dependencies of examples altogether, but wasm-bindgen causes conflicts between this example and openai-web-app example. This one uses older wasm-bindgen while the other requires newer one.

If the example is enough, you can also consider merging the code in experiments branch into main.

@ifsheldon ifsheldon mentioned this pull request Jan 10, 2024
@64bit
Copy link
Owner

64bit commented Jan 10, 2024

Thank you for the PR.

I want to remind you of expectations from my comment .

I'm sorry but I don't seem to have bandwidth to maintain this big of a change in main anytime in the near future.

However, I'm happy to accept WASM related changes in experiments as long as you want to contribute.

Thank you for your understanding again!

Copy link
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

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

Not fully reviewed - accepting PR

@64bit 64bit merged commit 24da803 into 64bit:experiments Jan 10, 2024
@ifsheldon ifsheldon deleted the cf_example branch January 12, 2024 09:33
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.

None yet

2 participants