@copilotkitnext/core 0.0.23 → 0.0.24
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -100,6 +100,13 @@ var ProxiedCopilotRuntimeAgent = class extends HttpAgent {
|
|
|
100
100
|
}
|
|
101
101
|
return super.run(input);
|
|
102
102
|
}
|
|
103
|
+
clone() {
|
|
104
|
+
const cloned = super.clone();
|
|
105
|
+
cloned.runtimeUrl = this.runtimeUrl;
|
|
106
|
+
cloned.transport = this.transport;
|
|
107
|
+
cloned.singleEndpointUrl = this.singleEndpointUrl;
|
|
108
|
+
return cloned;
|
|
109
|
+
}
|
|
103
110
|
createSingleRouteRequestInit(input, method, params) {
|
|
104
111
|
if (!this.agentId) {
|
|
105
112
|
throw new Error("ProxiedCopilotRuntimeAgent requires agentId to make runtime requests");
|