|
|
@@ -272,7 +272,11 @@ export const ChatRowContent = ({
|
|
|
<>
|
|
|
<div style={headerStyle}>
|
|
|
{toolIcon(tool.tool === "appliedDiff" ? "diff" : "edit")}
|
|
|
- <span style={{ fontWeight: "bold" }}>{t("chat:fileOperations.wantsToEdit")}</span>
|
|
|
+ <span style={{ fontWeight: "bold" }}>
|
|
|
+ {tool.isOutsideWorkspace
|
|
|
+ ? t("chat:fileOperations.wantsToEditOutsideWorkspace")
|
|
|
+ : t("chat:fileOperations.wantsToEdit")}
|
|
|
+ </span>
|
|
|
</div>
|
|
|
<CodeAccordian
|
|
|
progressStatus={message.progressStatus}
|
|
|
@@ -307,7 +311,9 @@ export const ChatRowContent = ({
|
|
|
{toolIcon("file-code")}
|
|
|
<span style={{ fontWeight: "bold" }}>
|
|
|
{message.type === "ask"
|
|
|
- ? t("chat:fileOperations.wantsToRead")
|
|
|
+ ? tool.isOutsideWorkspace
|
|
|
+ ? t("chat:fileOperations.wantsToReadOutsideWorkspace")
|
|
|
+ : t("chat:fileOperations.wantsToRead")
|
|
|
: t("chat:fileOperations.didRead")}
|
|
|
</span>
|
|
|
</div>
|