MAJOR BREAKING CHANGE: browser โ official API ๐ฅ
This change removes the browser version and all puppeteer logic and replaces it with the official OpenAI API, using a leaked chatgpt model that is likely in preparation for their upcoming API launch.
Additional logic around prompt history and context support was added because we now need to store the message history ourselves.
The net result is that this package is now significantly simpler and more robust.
Huge thanks to @โwaylaidwanderer for discovering the leaked chatgpt model! ๐ฅ ๐ฅ ๐ฅ
Merge pull request #284 from transitive-bullshit/feature/hidden-model-api af1f57f
๐ท 67b872b
๐ cd249f9
docs: update readme and auto-gen docs 3a0259c
feat: add persistence demo and keyv support 531e180
feat: MAJOR BREAKING CHANGE; moved from browser to official completion API with unofficial chatgpt model 21dd9d5
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps chatgpt from 3.5.1 to 4.0.1.
Release notes
Sourced from chatgpt's releases.
Commits
ecef4cc
4.0.157b1840
๐ฆ1f6f08e
๐b823c74
docs: update readmeac0622d
4.0.0af1f57f
Merge pull request #284 from transitive-bullshit/feature/hidden-model-api67b872b
๐ทcd249f9
๐3a0259c
docs: update readme and auto-gen docs531e180
feat: add persistence demo and keyv supportDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)