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

@scoopika/scoopika

Package Overview
Dependencies
Maintainers
0
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scoopika/scoopika - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

4

index.d.ts

@@ -705,7 +705,7 @@ import { Store, SavedProvider, ProvidersName, VoiceResponse, Audio, StoreSession, RunHistory, RunInputs, RunOptions, Hooks, ToolSchema, ModelTextResponse, ModelObjectResponse, CoreTool, HooksHub } from '@scoopika/types';

private tools;
private prompt;
private prompt?;
constructor(scoopika: Scoopika, { provider, model, prompt, knowledge, memory, voice, }: {
provider: ProvidersName;
model: string;
prompt: string;
prompt?: string;
knowledge?: string;

@@ -712,0 +712,0 @@ memory?: Store;

@@ -1312,3 +1312,3 @@ "use strict";

}) {
const system_prompt = prompt || this.prompt;
const system_prompt = prompt || this.prompt || "";
const run_id = `run_${(0, import_crypto.randomUUID)()}`;

@@ -1418,3 +1418,3 @@ const client = await this.getLLMClient();

const { messages, new_message } = await this.getInputs({ inputs, options });
let system_prompt = prompt || generate_object_prompt;
let system_prompt = prompt || this.prompt || generate_object_prompt;
if (!this.model.includes("fireworks")) {

@@ -1421,0 +1421,0 @@ system_prompt += `

{
"name": "@scoopika/scoopika",
"version": "2.1.5",
"version": "2.1.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "./index.js",

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