@meetopenbot/openbot 0.2.4 → 0.2.6
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/dist/auto-model.js +4 -8
- package/package.json +2 -2
package/dist/auto-model.js
CHANGED
|
@@ -7,14 +7,10 @@ export const AUTO_MODEL_OPTION = {
|
|
|
7
7
|
description: 'Fast and cheap. OpenBot picks the model.',
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Auto currently always uses this model. Restore a cheap pool (preference
|
|
11
|
+
* order, failover, intent routing) without changing the `openbot/auto` alias.
|
|
12
12
|
*/
|
|
13
|
-
export const AUTO_MODEL_POOL = [
|
|
14
|
-
'openai/gpt-5.6-luna',
|
|
15
|
-
'google/gemini-3.5-flash',
|
|
16
|
-
'openai/gpt-5.4-nano',
|
|
17
|
-
];
|
|
13
|
+
export const AUTO_MODEL_POOL = ['deepseek/deepseek-v4-flash'];
|
|
18
14
|
const PROVIDER_BYOK_ENV = {
|
|
19
15
|
openai: 'OPENAI_API_KEY',
|
|
20
16
|
anthropic: 'ANTHROPIC_API_KEY',
|
|
@@ -43,7 +39,7 @@ export function listAutoModelCandidates(ctx) {
|
|
|
43
39
|
const available = pool.filter((id) => providerHasByokKey(providerOf(id), env));
|
|
44
40
|
return available.length > 0 ? available : [pool[0]];
|
|
45
41
|
}
|
|
46
|
-
/**
|
|
42
|
+
/** First available pool member. Later: classify, then pick. */
|
|
47
43
|
export function pickAutoModel(ctx) {
|
|
48
44
|
return listAutoModelCandidates(ctx)[0] ?? AUTO_MODEL_POOL[0];
|
|
49
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetopenbot/openbot",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "OpenBot coordinator runtime: ask specialists, route work into Spaces, and track todos.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@ai-sdk/openai": "^3.0.13",
|
|
24
24
|
"ai": "^6.0.42",
|
|
25
25
|
"zod": "^4.3.5",
|
|
26
|
-
"@meetopenbot/plugin-sdk": "^0.
|
|
26
|
+
"@meetopenbot/plugin-sdk": "^0.5.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^20.10.1",
|