pi-blablador 0.1.0 → 0.1.1
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/blablador.ts +3 -3
- package/package.json +2 -2
package/blablador.ts
CHANGED
|
@@ -47,11 +47,11 @@ function thinkingLevelMap(id: string, root: string | null): Partial<Record<Level
|
|
|
47
47
|
return map;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
function chatModel(model: CatalogModel
|
|
50
|
+
function chatModel(model: CatalogModel): ProviderModelConfig {
|
|
51
51
|
const effort = EFFORT[familyOf(model.id, model.root)];
|
|
52
52
|
return {
|
|
53
53
|
id: model.id,
|
|
54
|
-
name: displayName(model
|
|
54
|
+
name: displayName(model),
|
|
55
55
|
api: "openai-completions",
|
|
56
56
|
reasoning: effort !== null,
|
|
57
57
|
input: VISION.has(model.id) ? ["text", "image"] : ["text"],
|
|
@@ -66,7 +66,7 @@ function chatModel(model: CatalogModel, all: readonly CatalogModel[]): ProviderM
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export function buildModels(catalog: readonly CatalogModel[]): ProviderModelConfig[] {
|
|
69
|
-
return catalog.map(
|
|
69
|
+
return catalog.map(chatModel);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export default function blablador(pi: ExtensionAPI): void {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-blablador",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Blablador (Helmholtz / JSC) provider for Pi: live alias discovery, per-family thinking effort, measured context windows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"node": ">=22.18.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"blablador-core": "0.1.
|
|
37
|
+
"blablador-core": "0.1.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"test": "node --test \"test/**/*.test.mjs\"",
|