@copilotkit/react-ui 1.4.8-next.2 → 1.4.8

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 CHANGED
@@ -1,23 +1,30 @@
1
1
  # ui
2
2
 
3
- ## 1.4.8-next.2
3
+ ## 1.4.8
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - e3cce8e: - feat: add temperature parameter support for LLM completions
8
- - Updated dependencies [e3cce8e]
9
- - @copilotkit/react-core@1.4.8-next.2
10
- - @copilotkit/runtime-client-gql@1.4.8-next.2
11
- - @copilotkit/shared@1.4.8-next.2
7
+ - ea0c5d5: - fix: prevent sending empty messages via Enter key
12
8
 
13
- ## 1.4.8-next.1
9
+ When the input field was empty, pressing Enter would still trigger the
10
+ send() function despite the send button being correctly disabled. Added
11
+ the sendDisabled check to the onKeyDown handler to ensure consistent
12
+ validation between button and keyboard triggers.
14
13
 
15
- ### Patch Changes
14
+ - Added validation check to Enter key handler
15
+ - Ensures empty messages can't be sent via keyboard shortcut
16
+ - Makes behavior consistent with disabled send button state
16
17
 
17
- - Updated dependencies [1f21f28]
18
- - @copilotkit/react-core@1.4.8-next.1
19
- - @copilotkit/runtime-client-gql@1.4.8-next.1
20
- - @copilotkit/shared@1.4.8-next.1
18
+ Resolves #1129
19
+
20
+ - - Better error handling
21
+ - Introduce new "EmptyLLMAdapter" for when using CoAgents
22
+ - Improve dev console help options
23
+ - Allow CopilotKit remote endpoint without agents
24
+ - Updated dependencies
25
+ - @copilotkit/react-core@1.4.8
26
+ - @copilotkit/runtime-client-gql@1.4.8
27
+ - @copilotkit/shared@1.4.8
21
28
 
22
29
  ## 1.4.8-next.0
23
30
 
package/dist/index.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  import "./chunk-EFZPSZWO.mjs";
3
- import "./chunk-IU3WTXLQ.mjs";
4
3
  import "./chunk-MMVDU6DF.mjs";
5
4
  import "./chunk-MRFF7GSQ.mjs";
6
5
  import {
@@ -43,6 +42,7 @@ import {
43
42
  } from "./chunk-CBBFRI3Q.mjs";
44
43
  import "./chunk-UPTB2MVO.mjs";
45
44
  import "./chunk-FZC7X5PK.mjs";
45
+ import "./chunk-IU3WTXLQ.mjs";
46
46
  import "./chunk-T26KLXLH.mjs";
47
47
  import {
48
48
  useCopilotChatSuggestions
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "1.4.8-next.2",
12
+ "version": "1.4.8",
13
13
  "sideEffects": [
14
14
  "**/*.css"
15
15
  ],
@@ -50,9 +50,9 @@
50
50
  "react-syntax-highlighter": "^15.5.0",
51
51
  "remark-gfm": "^3.0.1",
52
52
  "remark-math": "^5.1.1",
53
- "@copilotkit/react-core": "1.4.8-next.2",
54
- "@copilotkit/runtime-client-gql": "1.4.8-next.2",
55
- "@copilotkit/shared": "1.4.8-next.2"
53
+ "@copilotkit/react-core": "1.4.8",
54
+ "@copilotkit/runtime-client-gql": "1.4.8",
55
+ "@copilotkit/shared": "1.4.8"
56
56
  },
57
57
  "keywords": [
58
58
  "copilotkit",