@aethermind/setup 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/detect.js +2 -1
- package/src/install.js +1 -1
package/package.json
CHANGED
package/src/detect.js
CHANGED
|
@@ -31,6 +31,7 @@ const AI_SDKS = [
|
|
|
31
31
|
{ name: 'openai', label: 'openai' },
|
|
32
32
|
{ name: '@anthropic-ai/sdk', label: '@anthropic-ai/sdk' },
|
|
33
33
|
{ name: '@google/generative-ai', label: '@google/generative-ai' },
|
|
34
|
+
{ name: 'ollama', label: 'ollama' },
|
|
34
35
|
];
|
|
35
36
|
|
|
36
37
|
function detectInstalledSDKs(cwd) {
|
|
@@ -48,7 +49,7 @@ function detectInstalledSDKs(cwd) {
|
|
|
48
49
|
if (found.length > 0) {
|
|
49
50
|
ok(`SDKs detectados: ${found.join(', ')}`);
|
|
50
51
|
} else {
|
|
51
|
-
info('No se detectaron SDKs de IA instalados (openai, anthropic, gemini)');
|
|
52
|
+
info('No se detectaron SDKs de IA instalados (openai, anthropic, gemini, ollama)');
|
|
52
53
|
}
|
|
53
54
|
return found;
|
|
54
55
|
}
|
package/src/install.js
CHANGED
|
@@ -5,7 +5,7 @@ const { ok, fail } = require('./ui.js');
|
|
|
5
5
|
|
|
6
6
|
function installProviders(packageManager) {
|
|
7
7
|
const cmds = {
|
|
8
|
-
npm: 'npm install @aethermind/providers',
|
|
8
|
+
npm: 'npm install @aethermind/providers --legacy-peer-deps',
|
|
9
9
|
pnpm: 'pnpm add @aethermind/providers',
|
|
10
10
|
yarn: 'yarn add @aethermind/providers',
|
|
11
11
|
bun: 'bun add @aethermind/providers',
|