matrixgpt / matrix-chatgpt-bot

Talk to ChatGPT via any Matrix client!
GNU Affero General Public License v3.0
234 stars 63 forks source link

Bump @waylaidwanderer/chatgpt-api from 1.10.5 to 1.22.5 #123

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @waylaidwanderer/chatgpt-api from 1.10.5 to 1.22.5.

Release notes

Sourced from @​waylaidwanderer/chatgpt-api's releases.

v1.22.0

Features

Patches

  • 1.21.3
    • fix(client): automatically set maxPromptTokens based on maxContextTokens and maxResponseTokens
  • 1.21.2
    • fix(bing): update message options to match payload on website
    • feat: implement ability to abort request in clients
  • 1.21.1
    • docs(readme): add link to web client
    • docs(readme): minor tweaks Joel

Full Changelog: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.21.0...v1.22.0

v1.21.0

Fixes

BREAKING CHANGES:

  • api: JSON-encode tokens when streaming to retain characters such as newlines properly

Non-breaking:

  • client/browser-client: Don't attempt to parse ping events
  • client: Set headers timeout to 3 minutes
  • browser-client: Ignore any messages not from assistant role
  • browser-client: Handle non-existent conversation IDs when fetching cache
  • browser-client: Handle null lastEvent on close, fixes #98, #99
  • api: Use setTimeout instead of nextTick to avoid ERR_STREAM_WRITE_AFTER_END
  • api: Use my sse fork to avoid sending unnecessary retryAfter event
  • api: Don't send [DONE] twice
  • bing: Handle invalid session error, fixes #90

Misc.

  • cli: Explicitly set bin files to LF, fixes #51
  • docs: Reformat example settings a little bit
  • docs: Replace examples already in demos folder with link
  • docs: Add clarification on how maxPromptTokens works

New Contributors

Full Changelog: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.20.0...v1.21.0

v1.20.0

Features

  • ChatGPTClient: add the ability to limit token usage

... (truncated)

Commits


Dependabot compatibility score

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)
dependabot[bot] commented 1 year ago

Superseded by #124.