OpenAISwift
OpenAISwift copied to clipboard
Stay away from this package
- It's unmaintained.
- The latest version doesn't actually work.
- It made breaking changes to the API without updating docs.
- It doesn't properly handle HTTP errors.
@sindresorhus I found this package from the link on your page - what do you recommend now instead?
@sindresorhus I do agree, it's a shame this package doesn't get any more support. I and some others opened several pull requests to fix some issues which the current pre(!) release has, but it seems no one is actively working on it. I assume the original maintainer doesn't have time to work on this open source project. Which can happen, I guess, it's voluntarily and unpaid after all. @ErikaFoxelot I've switched to https://github.com/MacPaw/OpenAI in my projects, as this seems to be maintained quite well. I was able to reuse almost all of my code with only a few small (non-breaking) changes from the last OpenAISwift release. Hope that helps!
@ErikaFoxelot I've switched to https://github.com/MacPaw/OpenAI in my projects, as this seems to be maintained quite well. I was able to reuse almost all of my code with only a few small (non-breaking) changes from the last OpenAISwift release. Hope that helps!
Helps a ton, thanks so much =)
I have cloned the Repo and updated with the PR's
https://github.com/Swift-Almanac/OpenAISwift
@MarkHoath I think forking, not cloning, would be the more appropriate way, otherwise you're disregarding everyone elses work on this repo.
@marcoboerner , I manually updated all the Pull Requests, so no work has been lost. And at least it gives us a pathway to update the library further
@MarkHoath, but even in this case, a fork (like you did at first with your personal account), and then merging the PRs of the original's repository, would have been the way to go. IMO, I think it's just best practice as it keeps the full commit history, it attributes the authors of every commit, which is only fair to the people who spent time on this before you. Don't get me wrong, you can please with it as you want, since the MIT license allows it. But as a friendly nudge, especially if you want the same authors to continue working on this, it would make sense to do it right the first time. 😉
@marcoboerner This is the first time I have done this... You obviously have more knowledge than me, you should have forked it and done it correctly. There is still time...
@marcoboerner Following on from your comments, I have forked and merged all the Pull Requests.
@MarkHoath that's great! 🙂
@MarkHoath @marcoboerner and I see this just when I finish switching my codebase over to MacPaw's repo 🤦♀️
@ErikaFoxelot at the moment I'm also still using the MacPaw Repo to be honest, especially since there is a PR waiting that adds a lot of the features openAI has just added in the last few days. Would be nice to bring those features to this repo at some point though.