Node-chatgpt-api

Latest version: v1.0.1

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.10.1

Fixes
- handle SSE errors properly to avoid retry loop leading to 429s

**Full Changelog**: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.10.0...v1.10.1

1.10.0

![CLI streaming preview](https://cdn.discordapp.com/attachments/1051681202626642003/1072220889074122842/webstorm64_rFD71VSuUW.gif)

Features
* **support streamed responses (25)** (client, API, CLI)
* Readme updated with examples
* API: allow CORS all origins, closes 24

Fixes
* API: handle empty message properly
* CLI: try-catch boxen so malformed input doesn't crash the app

**Full Changelog**: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.9.0...v1.10.0

1.9.0

Features
* CLI: add a commands menu

![Commands menu preview](https://i.imgur.com/TXD8OhM.png)

**Full Changelog**: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.8.0...v1.9.0

1.8.0

Features
- Adds Docker support for the API server (thanks to queercat for helping me get started)
- you can run it with `docker-compose up`. For available ENV vars, check the settings example file, or you can just set options in settings.js as usual.

**Full Changelog**: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.7.0...v1.8.0

1.7.0

Features
- Make the AI obey prompt instructions better by always inserting `promptPrefix` before the last user message.
- This is especially important for custom instructions. After a bunch of testing, it doesn't seem to cause the AI any confusion, even if you ask it things like "what's the last thing I wrote?".

Fixes
- Reduce the temperature to 0.8, producing more coherent results with longer outputs while allowing for decent creativity.

**Full Changelog**: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.6.1...v1.7.0

1.6.1

Fixes
- Set the new `text-chat-davinci-002` model name, closes 19 (thanks canfam / pig8932 on Discord)
- Added `createdAt` timestamp to conversations

**Full Changelog**: https://github.com/waylaidwanderer/node-chatgpt-api/compare/v1.6.0...v1.6.1

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.