@blade-hq/agent-react 2610.0.0-beta.42 → 2610.0.0-beta.44
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1650,9 +1650,9 @@ function ChatInput({
|
|
|
1650
1650
|
queueKey
|
|
1651
1651
|
}) {
|
|
1652
1652
|
const trimmed = value.trim();
|
|
1653
|
-
const [sendMode, setSendMode] = useState5("
|
|
1653
|
+
const [sendMode, setSendMode] = useState5("queue");
|
|
1654
1654
|
void queueKey;
|
|
1655
|
-
const canSend = trimmed.length > 0 && (!isStreaming || sendMode === "queue");
|
|
1655
|
+
const canSend = trimmed.length > 0 && (!isStreaming || !isStopping && sendMode === "queue" && !!onAppend);
|
|
1656
1656
|
const handleSend = async () => {
|
|
1657
1657
|
if (!canSend) return;
|
|
1658
1658
|
if (isStreaming && sendMode === "queue") {
|