On wasm targets only async calls are available.
As a result, reqwest::blocking::Client is not available.
reqwest::Client (the async version of the client) should be used instead.
To support this there are two choices:
- Expose blocking as well as non-blocking APIs for the
llm crate, with only the latter available on WASM.
- Breaking change: make all the API's non-blocking, thus exposing a single async surface.
Personally I'm in favor of the latter as there isn't a good reason to have these calls block.