aallam / openai-kotlin

OpenAI API client for Kotlin with multiplatform and coroutines capabilities.
MIT License
1.49k stars 179 forks source link

Wasm Support #346

Open Reedyuk opened 5 months ago

Reedyuk commented 5 months ago

Feature Description

Can you support WASM?

Problem it Solves

Being able to support Wasm would open the door for alot of potential.

Proposed Solution

Please see my PR: https://github.com/aallam/openai-kotlin/pull/345

juliewww commented 3 months ago

@aallam I trying to use openai-kotlin in KMP, really hope you can support WASM.

aallam commented 3 months ago

Hey, wasm will be supported once ktor v3 stable release is out :)

Reedyuk commented 3 months ago

if you want to use it now, you can, you just need to check out my branch and publish to maven local.