New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bnk/ai

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bnk/ai - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json

@@ -6,3 +6,3 @@ {

"type": "module",
"version": "1.0.4",
"version": "1.0.5",
"scripts": {

@@ -9,0 +9,0 @@ "test": "bun test src/",

@@ -38,3 +38,4 @@ // model-fetcher-service.ts

export type ListModelsOptions = {
baseUrl?: string;
ollamaBaseUrl?: string;
lmstudioBaseUrl?: string;
}

@@ -259,3 +260,4 @@

async listModels(provider: APIProviders, {
baseUrl
ollamaBaseUrl,
lmstudioBaseUrl,
}: ListModelsOptions = {}): Promise<UnifiedModel[]> {

@@ -273,7 +275,7 @@ switch (provider) {

case "lmstudio": {
return this.listLMStudioModels({ baseUrl: baseUrl || LMSTUDIO_BASE_URL });
return this.listLMStudioModels({ baseUrl: lmstudioBaseUrl || LMSTUDIO_BASE_URL });
}
case "ollama": {
return this.listOllamaModels({ baseUrl: baseUrl || OLLAMA_BASE_URL });
return this.listOllamaModels({ baseUrl: ollamaBaseUrl || OLLAMA_BASE_URL });
}

@@ -280,0 +282,0 @@

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