Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chatgpt-jdasa

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatgpt-jdasa - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

4

build/index.d.ts

@@ -451,5 +451,9 @@ import Keyv from 'keyv';

set apiKey(apiKey: string);
get apiBaseUrl(): string;
set apiBaseUrl(apiBaseUrl: string);
get systemMessage(): string;
set systemMessage(systemMessage: string);
get maxModelTokens(): number;
set maxModelTokens(maxModelTokens: number);
get maxResponseTokens(): number;
set maxResponseTokens(maxResponseTokens: number);

@@ -456,0 +460,0 @@ get apiOrg(): string;

@@ -383,11 +383,23 @@ // src/chatgpt-api.ts

}
get apiBaseUrl() {
return this._apiBaseUrl;
}
set apiBaseUrl(apiBaseUrl) {
this._apiBaseUrl = apiBaseUrl;
}
get systemMessage() {
return this._systemMessage;
}
set systemMessage(systemMessage) {
this._systemMessage = systemMessage;
}
get maxModelTokens() {
return this._maxModelTokens;
}
set maxModelTokens(maxModelTokens) {
this._maxModelTokens = maxModelTokens;
}
get maxResponseTokens() {
return this._maxResponseTokens;
}
set maxResponseTokens(maxResponseTokens) {

@@ -435,3 +447,2 @@ this._maxResponseTokens = maxResponseTokens;

let numTokens = 0;
console.log("nextMessages=%o", JSON.stringify(nextMessages));
do {

@@ -438,0 +449,0 @@ const prompt = nextMessages.reduce((prompt2, message) => {

2

package.json
{
"name": "chatgpt-jdasa",
"version": "1.0.11",
"version": "1.0.12",
"description": "Node.js client for the official ChatGPT API,support gpt-4o and image_url.",

@@ -5,0 +5,0 @@ "author": "Travis Fischer <travis@transitivebullsh.it>",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc