fix broken change
This commit is contained in:
parent
a1bbd2d45a
commit
4b407e5429
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ type EditToolCallProps = {
|
|||
};
|
||||
|
||||
export function EditFile(props: EditToolCallProps) {
|
||||
const src = `\`\`\`${getMarkdownLanguageTagForFile(props.relativeFilePath ?? "test.txt")} ${props.relativeFilePath}\n${props.newContents ?? ""}\n\`\`\``;
|
||||
const src = `\`\`\`${getMarkdownLanguageTagForFile(props.relativeFilePath ?? "test.txt")} ${props.relativeFilePath}\n${props.changes ?? ""}\n\`\`\``;
|
||||
|
||||
const isStreaming = useAppSelector((state) => state.session.isStreaming);
|
||||
const states = useAppSelector((store) => store.session.codeBlockApplyStates);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue