Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
0
Versions
401
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.65.0-4 to 0.65.0-6

12

esm/index.es.js

@@ -7,3 +7,3 @@ import { io } from 'socket.io-client';

*/
var PROMPTBOOK_VERSION = '0.65.0-3';
var PROMPTBOOK_VERSION = '0.65.0-5';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -139,5 +139,6 @@

});
// TODO: !!!! Better timeout handling
setTimeout(function () {
reject(new Error("Timeout while connecting to ".concat(_this.options.remoteUrl)));
}, 60000 /* <- TODO: Timeout to config */);
}, 1000 /* <- TODO: Timeout to config */);
});

@@ -222,5 +223,6 @@ };

return __generator(this, function (_a) {
return [2 /*return*/, [
/* !!! */
]];
return [2 /*return*/, (this.options.models ||
[
/* !!! */
])];
});

@@ -227,0 +229,0 @@ });

import type { CommonExecutionToolsOptions } from '../../../execution/CommonExecutionToolsOptions';
import type { AvailableModel } from '../../../execution/LlmExecutionTools';
import type { client_id } from '../../../types/typeAliases';

@@ -25,2 +26,8 @@ import type { string_base_url } from '../../../types/typeAliases';

/**
* If set, only these models will be listed as available
*
* TODO: [🧠] !!!! Figure out better solution
*/
readonly models?: Array<AvailableModel>;
/**
* Mode of the server to connect to

@@ -27,0 +34,0 @@ */

{
"name": "@promptbook/remote-client",
"version": "0.65.0-4",
"version": "0.65.0-6",
"description": "Supercharge your use of large language models",

@@ -50,3 +50,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.65.0-4"
"@promptbook/core": "0.65.0-6"
},

@@ -53,0 +53,0 @@ "dependencies": {

@@ -11,3 +11,3 @@ (function (global, factory) {

*/
var PROMPTBOOK_VERSION = '0.65.0-3';
var PROMPTBOOK_VERSION = '0.65.0-5';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -143,5 +143,6 @@

});
// TODO: !!!! Better timeout handling
setTimeout(function () {
reject(new Error("Timeout while connecting to ".concat(_this.options.remoteUrl)));
}, 60000 /* <- TODO: Timeout to config */);
}, 1000 /* <- TODO: Timeout to config */);
});

@@ -226,5 +227,6 @@ };

return __generator(this, function (_a) {
return [2 /*return*/, [
/* !!! */
]];
return [2 /*return*/, (this.options.models ||
[
/* !!! */
])];
});

@@ -231,0 +233,0 @@ });

Sorry, the diff of this file is not supported yet

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