@singlestore/ai
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -113,3 +113,2 @@ "use strict"; | ||
// src/llm/openai.ts | ||
var import_models = require("openai/resources/models.mjs"); | ||
var OpenAILLM = class { | ||
@@ -121,4 +120,3 @@ constructor(_openai) { | ||
return __async(this, null, function* () { | ||
const models = new import_models.Models(this._openai); | ||
const list = yield models.list(); | ||
const list = yield this._openai.models.list(); | ||
return list.data.map((model) => model.id); | ||
@@ -125,0 +123,0 @@ }); |
{ | ||
"name": "@singlestore/ai", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
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
32604
426