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

@baseai/core

Package Overview
Dependencies
Maintainers
0
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baseai/core - npm Package Compare versions

Comparing version 0.9.15-snapshot.9 to 0.9.15-snapshot.10

helpers/dist/index.d.mts

28

dist/index.js

@@ -20,5 +20,5 @@ "use strict";

// src/index.ts
var src_exports = {};
__export(src_exports, {
// index.ts
var core_exports = {};
__export(core_exports, {
Pipe: () => Pipe,

@@ -38,5 +38,5 @@ fromReadableStream: () => fromReadableStream,

});
module.exports = __toCommonJS(src_exports);
module.exports = __toCommonJS(core_exports);
// src/helpers/stream.ts
// helpers/stream.ts
var import_ChatCompletionStream = require("openai/lib/ChatCompletionStream");

@@ -54,6 +54,6 @@ var fromReadableStream = (readableStream) => {

// src/common/request.ts
// common/request.ts
var import_streaming = require("openai/streaming");
// src/common/errors.ts
// common/errors.ts
var APIError = class _APIError extends Error {

@@ -172,3 +172,3 @@ constructor(status, error, message, headers) {

// src/common/request.ts
// common/request.ts
var Request = class {

@@ -308,3 +308,3 @@ constructor(config) {

// src/data/models.ts
// data/models.ts
var OPEN_AI = "OpenAI";

@@ -698,3 +698,3 @@ var ANTHROPIC = "Anthropic";

// src/utils/get-llm-api-key.ts
// utils/get-llm-api-key.ts
function getLLMApiKey(modelProvider) {

@@ -725,3 +725,3 @@ switch (true) {

// src/utils/is-prod.ts
// utils/is-prod.ts
var FORCE_PROD = false;

@@ -737,3 +737,3 @@ var TEST_PROD_LOCALLY = FORCE_PROD;

// src/utils/to-old-pipe-format.ts
// utils/to-old-pipe-format.ts
function toOldPipeFormat(newFormat) {

@@ -791,3 +791,3 @@ const [providerString, modelName] = newFormat.model.split(":");

// src/utils/local-server-running.ts
// utils/local-server-running.ts
async function isLocalServerRunning() {

@@ -827,3 +827,3 @@ try {

// src/pipes/pipes.ts
// pipes/pipes.ts
var Pipe = class {

@@ -830,0 +830,0 @@ constructor(options) {

{
"name": "@baseai/core",
"description": "The Web AI Framework's core - BaseAI.dev",
"version": "0.9.15-snapshot.9",
"version": "0.9.15-snapshot.10",
"license": "Apache-2.0",

@@ -12,5 +12,5 @@ "sideEffects": false,

"dist/**",
"/src/react/dist/**/*",
"/src/pipes/dist/**/*",
"/src/helpers/dist/**/*",
"react/dist/**",
"pipes/dist/**",
"helpers/dist/**",
"CHANGELOG.md"

@@ -17,0 +17,0 @@ ],

Sorry, the diff of this file is not supported yet

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