@copilotkit/runtime 1.4.8-next.1 → 1.4.8-next.2

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{chunk-CGGI46KC.mjs → chunk-4DFIC23L.mjs} +2 -2
  3. package/dist/{chunk-EU52BTKR.mjs → chunk-4OJDHGJU.mjs} +2 -2
  4. package/dist/{chunk-KO4QCMY4.mjs → chunk-6SSIGQER.mjs} +2 -2
  5. package/dist/{chunk-W7GP2EOT.mjs → chunk-AKGNTDRV.mjs} +14 -1
  6. package/dist/chunk-AKGNTDRV.mjs.map +1 -0
  7. package/dist/{chunk-5KJYPVQJ.mjs → chunk-MCVGZ4ZG.mjs} +3 -3
  8. package/dist/{chunk-5KJYPVQJ.mjs.map → chunk-MCVGZ4ZG.mjs.map} +1 -1
  9. package/dist/index.js +14 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +5 -5
  12. package/dist/lib/index.js +11 -1
  13. package/dist/lib/index.js.map +1 -1
  14. package/dist/lib/index.mjs +5 -5
  15. package/dist/lib/integrations/index.js +1 -1
  16. package/dist/lib/integrations/index.js.map +1 -1
  17. package/dist/lib/integrations/index.mjs +5 -5
  18. package/dist/lib/integrations/nest/index.js +1 -1
  19. package/dist/lib/integrations/nest/index.js.map +1 -1
  20. package/dist/lib/integrations/nest/index.mjs +3 -3
  21. package/dist/lib/integrations/node-express/index.js +1 -1
  22. package/dist/lib/integrations/node-express/index.js.map +1 -1
  23. package/dist/lib/integrations/node-express/index.mjs +3 -3
  24. package/dist/lib/integrations/node-http/index.js +1 -1
  25. package/dist/lib/integrations/node-http/index.js.map +1 -1
  26. package/dist/lib/integrations/node-http/index.mjs +2 -2
  27. package/dist/service-adapters/index.js +13 -0
  28. package/dist/service-adapters/index.js.map +1 -1
  29. package/dist/service-adapters/index.mjs +1 -1
  30. package/package.json +2 -2
  31. package/src/service-adapters/anthropic/anthropic-adapter.ts +1 -0
  32. package/src/service-adapters/groq/groq-adapter.ts +1 -0
  33. package/src/service-adapters/openai/openai-adapter.ts +1 -0
  34. package/src/service-adapters/unify/unify-adapter.ts +2 -0
  35. package/dist/chunk-W7GP2EOT.mjs.map +0 -1
  36. /package/dist/{chunk-CGGI46KC.mjs.map → chunk-4DFIC23L.mjs.map} +0 -0
  37. /package/dist/{chunk-EU52BTKR.mjs.map → chunk-4OJDHGJU.mjs.map} +0 -0
  38. /package/dist/{chunk-KO4QCMY4.mjs.map → chunk-6SSIGQER.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -3,13 +3,13 @@ import {
3
3
  config,
4
4
  copilotRuntimeNextJSAppRouterEndpoint,
5
5
  copilotRuntimeNextJSPagesRouterEndpoint
6
- } from "./chunk-EU52BTKR.mjs";
6
+ } from "./chunk-4OJDHGJU.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "./chunk-KO4QCMY4.mjs";
9
+ } from "./chunk-6SSIGQER.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "./chunk-CGGI46KC.mjs";
12
+ } from "./chunk-4DFIC23L.mjs";
13
13
  import {
14
14
  CopilotRuntime,
15
15
  buildSchema,
@@ -20,7 +20,7 @@ import {
20
20
  getCommonConfig,
21
21
  langGraphPlatformEndpoint,
22
22
  resolveEndpointType
23
- } from "./chunk-5KJYPVQJ.mjs";
23
+ } from "./chunk-MCVGZ4ZG.mjs";
24
24
  import {
25
25
  AnthropicAdapter,
26
26
  ExperimentalEmptyAdapter,
@@ -32,7 +32,7 @@ import {
32
32
  OpenAIAssistantAdapter,
33
33
  RemoteChain,
34
34
  UnifyAdapter
35
- } from "./chunk-W7GP2EOT.mjs";
35
+ } from "./chunk-AKGNTDRV.mjs";
36
36
  import {
37
37
  GuardrailsValidationFailureResponse,
38
38
  MessageStreamInterruptedResponse,
package/dist/lib/index.js CHANGED
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.4.8-next.1",
47
+ version: "1.4.8-next.2",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -419,6 +419,9 @@ var OpenAIAdapter = class {
419
419
  },
420
420
  ...this.disableParallelToolCalls && {
421
421
  parallel_tool_calls: false
422
+ },
423
+ ...(forwardedParameters == null ? void 0 : forwardedParameters.temperature) && {
424
+ temperature: forwardedParameters.temperature
422
425
  }
423
426
  });
424
427
  eventSource.stream(async (eventStream$) => {
@@ -889,6 +892,7 @@ var UnifyAdapter = class {
889
892
  apiKey: this.apiKey,
890
893
  baseURL: "https://api.unify.ai/v0/"
891
894
  });
895
+ const forwardedParameters = request.forwardedParameters;
892
896
  const messages = request.messages.map(convertMessageToOpenAIMessage);
893
897
  const stream = await openai.chat.completions.create({
894
898
  model: this.model,
@@ -896,6 +900,9 @@ var UnifyAdapter = class {
896
900
  stream: true,
897
901
  ...tools.length > 0 && {
898
902
  tools
903
+ },
904
+ ...(forwardedParameters == null ? void 0 : forwardedParameters.temperature) && {
905
+ temperature: forwardedParameters.temperature
899
906
  }
900
907
  });
901
908
  let model = null;
@@ -999,6 +1006,9 @@ var GroqAdapter = class {
999
1006
  },
1000
1007
  ...this.disableParallelToolCalls && {
1001
1008
  parallel_tool_calls: false
1009
+ },
1010
+ ...(forwardedParameters == null ? void 0 : forwardedParameters.temperature) && {
1011
+ temperature: forwardedParameters.temperature
1002
1012
  }
1003
1013
  });
1004
1014
  eventSource.stream(async (eventStream$) => {