@baseai/core
Advanced tools
Comparing version 0.9.15-snapshot.9 to 0.9.15-snapshot.10
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
417742
11