@copilotkit/runtime 1.6.0-next.5 → 1.6.0-next.6
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 +9 -0
- package/__snapshots__/schema/schema.graphql +1 -0
- package/dist/{chunk-F6WKKTYT.mjs → chunk-5HTQ3NJN.mjs} +5 -4
- package/dist/chunk-5HTQ3NJN.mjs.map +1 -0
- package/dist/{chunk-7EXH7PVD.mjs → chunk-FZJAYGIR.mjs} +43 -11
- package/dist/chunk-FZJAYGIR.mjs.map +1 -0
- package/dist/{chunk-3C73PW47.mjs → chunk-KOZEUHQH.mjs} +2 -2
- package/dist/{chunk-I6W6FUR5.mjs → chunk-MADVAANL.mjs} +2 -2
- package/dist/{chunk-RG3UJM7Q.mjs → chunk-USK52PF7.mjs} +2 -2
- package/dist/{copilot-runtime-67033bfa.d.ts → copilot-runtime-15bfc4f4.d.ts} +2 -2
- package/dist/graphql/types/converted/index.d.ts +1 -1
- package/dist/{groq-adapter-9d15c927.d.ts → groq-adapter-fb9aa3ab.d.ts} +1 -1
- package/dist/{index-f6d1f30b.d.ts → index-5bec5424.d.ts} +2 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +45 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/{langserve-7cc5be48.d.ts → langserve-6f7af8d3.d.ts} +1 -1
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +45 -12
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.d.ts +4 -4
- package/dist/lib/integrations/index.js +3 -2
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +5 -5
- package/dist/lib/integrations/nest/index.d.ts +3 -3
- package/dist/lib/integrations/nest/index.js +3 -2
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +3 -3
- package/dist/lib/integrations/node-express/index.d.ts +3 -3
- package/dist/lib/integrations/node-express/index.js +3 -2
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +3 -3
- package/dist/lib/integrations/node-http/index.d.ts +3 -3
- package/dist/lib/integrations/node-http/index.js +3 -2
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +2 -2
- package/dist/service-adapters/index.d.ts +4 -4
- package/dist/service-adapters/index.js +42 -10
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +1 -1
- package/package.json +3 -3
- package/src/graphql/types/enums.ts +1 -0
- package/src/service-adapters/groq/groq-adapter.ts +6 -3
- package/src/service-adapters/openai/openai-adapter.ts +1 -1
- package/src/service-adapters/openai/openai-assistant-adapter.ts +1 -1
- package/src/service-adapters/openai/utils.ts +37 -12
- package/src/service-adapters/unify/unify-adapter.ts +1 -1
- package/dist/chunk-7EXH7PVD.mjs.map +0 -1
- package/dist/chunk-F6WKKTYT.mjs.map +0 -1
- /package/dist/{chunk-3C73PW47.mjs.map → chunk-KOZEUHQH.mjs.map} +0 -0
- /package/dist/{chunk-I6W6FUR5.mjs.map → chunk-MADVAANL.mjs.map} +0 -0
- /package/dist/{chunk-RG3UJM7Q.mjs.map → chunk-USK52PF7.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.6.0-next.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 45a3e10: - feat: support latest openai api
|
|
8
|
+
- chore: update all openai dependencies to use latest
|
|
9
|
+
- feat: update adapters using openai API
|
|
10
|
+
- @copilotkit/shared@1.6.0-next.6
|
|
11
|
+
|
|
3
12
|
## 1.6.0-next.5
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
EmptyAdapter,
|
|
3
3
|
RemoteChain,
|
|
4
4
|
streamLangChainResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FZJAYGIR.mjs";
|
|
6
6
|
import {
|
|
7
7
|
GuardrailsValidationFailureResponse,
|
|
8
8
|
MessageStreamInterruptedResponse,
|
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
publishConfig: {
|
|
40
40
|
access: "public"
|
|
41
41
|
},
|
|
42
|
-
version: "1.6.0-next.
|
|
42
|
+
version: "1.6.0-next.6",
|
|
43
43
|
sideEffects: false,
|
|
44
44
|
main: "./dist/index.js",
|
|
45
45
|
module: "./dist/index.mjs",
|
|
@@ -92,7 +92,7 @@ var require_package = __commonJS({
|
|
|
92
92
|
"graphql-yoga": "^5.3.1",
|
|
93
93
|
"groq-sdk": "^0.5.0",
|
|
94
94
|
langchain: "^0.3.3",
|
|
95
|
-
openai: "^4.
|
|
95
|
+
openai: "^4.85.1",
|
|
96
96
|
"partial-json": "^0.1.7",
|
|
97
97
|
pino: "^9.2.0",
|
|
98
98
|
"pino-pretty": "^11.2.1",
|
|
@@ -141,6 +141,7 @@ var MessageRole;
|
|
|
141
141
|
MessageRole2["assistant"] = "assistant";
|
|
142
142
|
MessageRole2["system"] = "system";
|
|
143
143
|
MessageRole2["tool"] = "tool";
|
|
144
|
+
MessageRole2["developer"] = "developer";
|
|
144
145
|
})(MessageRole || (MessageRole = {}));
|
|
145
146
|
var CopilotRequestType;
|
|
146
147
|
(function(CopilotRequestType2) {
|
|
@@ -4261,4 +4262,4 @@ export {
|
|
|
4261
4262
|
getCommonConfig,
|
|
4262
4263
|
copilotRuntimeNodeHttpEndpoint
|
|
4263
4264
|
};
|
|
4264
|
-
//# sourceMappingURL=chunk-
|
|
4265
|
+
//# sourceMappingURL=chunk-5HTQ3NJN.mjs.map
|