文案(智能体):停止 / 方案 / 子会话 / 压缩上下文等按术语表与 human-copy 重写
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
0338037a96
commit
775d1589e4
16 files changed
+49
-49
No files matched your search
@@ -119,7 +119,7 @@ export function GoalComposer({
|
||||
maxRows={10}
|
||||
maxLength={4000}
|
||||
aria-label="目标"
|
||||
placeholder="例如:把沙丘:第二部的 4K 收进来"
|
||||
placeholder="例如:下载沙丘 2 的 4K 版本"
|
||||
submitLabel={pending ? "提交中" : "开始"}
|
||||
commands={NEW_RUN_COMMANDS}
|
||||
context={context}
|
||||
@@ -491,7 +491,7 @@ export function AgentRunPanel({
|
||||
maxRows={6}
|
||||
maxLength={8000}
|
||||
aria-label="发消息"
|
||||
placeholder={ended ? "接着说,输入 / 看指令" : "补充或纠正"}
|
||||
placeholder={ended ? "继续对话,输入 / 查看指令" : "补充或纠正"}
|
||||
commands={RUN_COMMANDS}
|
||||
/>
|
||||
</div>
|
||||
@@ -499,13 +499,13 @@ export function AgentRunPanel({
|
||||
<ConfirmDialog
|
||||
open={confirmStop}
|
||||
onOpenChange={setConfirmStop}
|
||||
title="停止这次运行?"
|
||||
description="后续步骤不再执行,已完成的动作(如已提交的下载)不会撤销。"
|
||||
confirmLabel="停止运行"
|
||||
title="停止这个会话?"
|
||||
description="后续步骤不再执行。已完成的操作不会撤销,已提交的下载会继续。"
|
||||
confirmLabel="停止会话"
|
||||
destructive
|
||||
onConfirm={() =>
|
||||
abort.mutateAsync(r.id).then(
|
||||
() => toast.success("已请求停止"),
|
||||
() => toast.success("正在停止"),
|
||||
(e) => {
|
||||
toast.error(errorMessage(e));
|
||||
throw e;
|
||||
|
||||
Reference in new issue
Block a user