@agents24/chat-react 0.5.24 → 0.5.26
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/scaffold/index.cjs +1 -1
- package/dist/scaffold/index.cjs.map +1 -1
- package/dist/scaffold/index.js +1 -1
- package/dist/scaffold/index.js.map +1 -1
- package/dist/ui/index.cjs +3 -3
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.js +3 -3
- package/dist/ui/index.js.map +1 -1
- package/package.json +2 -2
- package/scaffold/src/components/chat/chat-composer.tsx +1 -1
package/dist/scaffold/index.cjs
CHANGED
|
@@ -606,7 +606,7 @@ function ChatComposer({
|
|
|
606
606
|
const hasContextWindow = Number.isFinite(Number(contextWindow?.max_tokens)) && Number(contextWindow?.max_tokens) > 0;
|
|
607
607
|
const showUtilityRow = utilityRow === "below";
|
|
608
608
|
const submit = async () => {
|
|
609
|
-
if (disabled || submittingRef.current || validationError) return;
|
|
609
|
+
if (disabled || isCancelling || submittingRef.current || validationError) return;
|
|
610
610
|
const value = text;
|
|
611
611
|
const selectedFiles = files;
|
|
612
612
|
const clearedRevision = draftRevisionRef.current + 1;
|