@frockbot/provider-openai-compatible 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 +3 -3
- package/src/index.test.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/provider-openai-compatible",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@frockbot/kernel-contracts": "0.3.
|
|
15
|
-
"@frockbot/plugin-models": "0.3.
|
|
14
|
+
"@frockbot/kernel-contracts": "0.3.7",
|
|
15
|
+
"@frockbot/plugin-models": "0.3.7",
|
|
16
16
|
"cordis": "4.0.0-rc.8"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/index.test.ts
CHANGED
|
@@ -224,7 +224,7 @@ describe("OpenAICompatibleProvider", () => {
|
|
|
224
224
|
expect(cancelled).toBe(true);
|
|
225
225
|
});
|
|
226
226
|
|
|
227
|
-
test("reports retrieval
|
|
227
|
+
test("reports retrieval as not retrievable without another provider request", async () => {
|
|
228
228
|
let requests = 0;
|
|
229
229
|
const provider = new OpenAICompatibleProvider({
|
|
230
230
|
baseUrl: "https://models.example/v1",
|
|
@@ -243,7 +243,7 @@ describe("OpenAICompatibleProvider", () => {
|
|
|
243
243
|
);
|
|
244
244
|
|
|
245
245
|
expect(outcome).toEqual({
|
|
246
|
-
status: "
|
|
246
|
+
status: "not-retrievable",
|
|
247
247
|
reason:
|
|
248
248
|
'LLM provider "openai-compatible" does not support provider-bound retrieval',
|
|
249
249
|
});
|