@copilotkit/runtime 1.7.1-next.0 → 1.7.2-next.0
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 +14 -0
- package/dist/{chunk-LOGYVH7X.mjs → chunk-5O7B3OFK.mjs} +2 -2
- package/dist/{chunk-SJPSYQ4P.mjs → chunk-DUBBA5SG.mjs} +2 -2
- package/dist/{chunk-5PFBYGDX.mjs → chunk-VNHNOXCI.mjs} +2 -2
- package/dist/{chunk-ANTSN7W3.mjs → chunk-ZLGWN57Q.mjs} +5 -7
- package/dist/{chunk-ANTSN7W3.mjs.map → chunk-ZLGWN57Q.mjs.map} +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/index.js +4 -6
- 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 +7 -6
- /package/dist/{chunk-LOGYVH7X.mjs.map → chunk-5O7B3OFK.mjs.map} +0 -0
- /package/dist/{chunk-SJPSYQ4P.mjs.map → chunk-DUBBA5SG.mjs.map} +0 -0
- /package/dist/{chunk-5PFBYGDX.mjs.map → chunk-VNHNOXCI.mjs.map} +0 -0
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.7.
|
|
12
|
+
"version": "1.7.2-next.0",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"main": "./dist/index.js",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"rxjs": "^7.8.1",
|
|
60
60
|
"type-graphql": "2.0.0-rc.1",
|
|
61
61
|
"zod": "^3.23.3",
|
|
62
|
-
"@copilotkit/shared": "1.7.
|
|
62
|
+
"@copilotkit/shared": "1.7.2-next.0"
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"copilotkit",
|
|
@@ -220,13 +220,14 @@ export class CopilotRuntime<const T extends Parameter[] | [] = []> {
|
|
|
220
220
|
private observability?: CopilotObservabilityConfig;
|
|
221
221
|
|
|
222
222
|
constructor(params?: CopilotRuntimeConstructorParams<T>) {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
223
|
+
if (
|
|
224
|
+
params?.actions &&
|
|
225
|
+
params?.remoteEndpoints &&
|
|
226
|
+
params?.remoteEndpoints.some((e) => e.type === EndpointType.LangGraphPlatform)
|
|
227
|
+
) {
|
|
228
|
+
console.warn("Actions set in runtime instance will not be available for the agent");
|
|
229
229
|
}
|
|
230
|
+
this.actions = params?.actions || [];
|
|
230
231
|
|
|
231
232
|
for (const chain of params?.langserve || []) {
|
|
232
233
|
const remoteChain = new RemoteChain(chain);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|