@copilotkit/runtime 1.8.1 → 1.8.2-next.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/CHANGELOG.md +13 -0
- package/dist/{chunk-O33RXDDY.mjs → chunk-C6HNX5KB.mjs} +2 -2
- package/dist/{chunk-6276MKXI.mjs → chunk-CKEC4T6B.mjs} +2 -2
- package/dist/{chunk-WN6OJX5I.mjs → chunk-HLUPHHYT.mjs} +18 -4
- package/dist/chunk-HLUPHHYT.mjs.map +1 -0
- package/dist/{chunk-34PLTABO.mjs → chunk-KHL2SKIB.mjs} +2 -2
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/index.js +17 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +4 -4
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.js +1 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +2 -2
- package/dist/lib/integrations/node-express/index.js +1 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +2 -2
- package/dist/lib/integrations/node-http/index.js +1 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +2 -2
- package/src/lib/runtime/copilot-runtime.ts +16 -4
- package/dist/chunk-WN6OJX5I.mjs.map +0 -1
- /package/dist/{chunk-O33RXDDY.mjs.map → chunk-C6HNX5KB.mjs.map} +0 -0
- /package/dist/{chunk-6276MKXI.mjs.map → chunk-CKEC4T6B.mjs.map} +0 -0
- /package/dist/{chunk-34PLTABO.mjs.map → chunk-KHL2SKIB.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.8.2-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e95bb0e: - fix: clarify difference between lgp endpoints to fastapi endpoints
|
|
8
|
+
- @copilotkit/shared@1.8.2-next.1
|
|
9
|
+
|
|
10
|
+
## 1.8.2-next.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- @copilotkit/shared@1.8.2-next.0
|
|
15
|
+
|
|
3
16
|
## 1.8.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HLUPHHYT.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNestEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-C6HNX5KB.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HLUPHHYT.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNodeExpressEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-CKEC4T6B.mjs.map
|
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
publishConfig: {
|
|
40
40
|
access: "public"
|
|
41
41
|
},
|
|
42
|
-
version: "1.8.1",
|
|
42
|
+
version: "1.8.2-next.1",
|
|
43
43
|
sideEffects: false,
|
|
44
44
|
main: "./dist/index.js",
|
|
45
45
|
module: "./dist/index.mjs",
|
|
@@ -2920,8 +2920,22 @@ please use an LLM adapter instead.`
|
|
|
2920
2920
|
...propertyHeaders
|
|
2921
2921
|
}
|
|
2922
2922
|
});
|
|
2923
|
-
|
|
2924
|
-
|
|
2923
|
+
let data = [];
|
|
2924
|
+
try {
|
|
2925
|
+
data = await client.assistants.search();
|
|
2926
|
+
if (data && "detail" in data && data.detail.toLowerCase() === "not found") {
|
|
2927
|
+
throw new CopilotKitAgentDiscoveryError();
|
|
2928
|
+
}
|
|
2929
|
+
} catch (e) {
|
|
2930
|
+
throw new CopilotKitMisuseError({
|
|
2931
|
+
message: `
|
|
2932
|
+
Failed to find or contact remote endpoint at url ${endpoint.deploymentUrl}.
|
|
2933
|
+
Make sure the API is running and that it's indeed a LangGraph platform url.
|
|
2934
|
+
|
|
2935
|
+
See more: https://docs.copilotkit.ai/troubleshooting/common-issues`
|
|
2936
|
+
});
|
|
2937
|
+
}
|
|
2938
|
+
const endpointAgents = data.map((entry) => ({
|
|
2925
2939
|
name: entry.graph_id,
|
|
2926
2940
|
id: entry.assistant_id,
|
|
2927
2941
|
description: "",
|
|
@@ -4555,4 +4569,4 @@ export {
|
|
|
4555
4569
|
getCommonConfig,
|
|
4556
4570
|
copilotRuntimeNodeHttpEndpoint
|
|
4557
4571
|
};
|
|
4558
|
-
//# sourceMappingURL=chunk-
|
|
4572
|
+
//# sourceMappingURL=chunk-HLUPHHYT.mjs.map
|