@frockbot/plugin-models 0.3.6 → 0.3.7
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 +2 -2
- package/src/llm.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/plugin-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@frockbot/kernel-contracts": "0.3.
|
|
20
|
+
"@frockbot/kernel-contracts": "0.3.7",
|
|
21
21
|
"cordis": "4.0.0-rc.8"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
package/src/llm.ts
CHANGED
|
@@ -61,8 +61,10 @@ export class LlmRegistry extends Service implements ModelInvocation {
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
if (!provider.reconciliation) {
|
|
64
|
+
// A provider that declares no retrieval will never grow one mid-run, so
|
|
65
|
+
// parking the run on it would wedge the Bot permanently. Settle instead.
|
|
64
66
|
return {
|
|
65
|
-
status: "
|
|
67
|
+
status: "not-retrievable",
|
|
66
68
|
reason: `LLM provider "${request.provider}" does not support provider-bound retrieval`,
|
|
67
69
|
};
|
|
68
70
|
}
|