Tags: freysie/openai-kit
Tags
Add URLSession support to Client (dylanshine#47) * URLSession support added * Test target fixed * README.md updated * Streaming for URLSession fixed * Import FoundationNetworking for linux added * Common init for Client added * Remove URLSession feature for linux
Fix crash after Task cancellation by removing unneeded error processi… …ng (dylanshine#45) - After Task cancellation, this preconditionFailure was triggered: "Tried to use a second iterator on response body stream. Multiple iterators are not supported." - Also the following: fatalError("NIOThrowingAsyncSequenceProducer allows only a single AsyncIterator to be created")
Add Stream support when create Chat completions (dylanshine#36) * Add support to stream chats * remove dead API key
Shutdown HTTPClient in deinit of Client (dylanshine#31) * Shutdown HTTPClient in deinit of Client * Add guard, update README * Convert httpClient param to optional, implement referencing logic * Update README
Support for GPT4 (dylanshine#26) * call correct httpClient syncShutdown() * Fix tearDownWithError and shutdown comment * Add GPT4 support
PreviousNext