tool call id for instant apply
This commit is contained in:
parent
05c092b302
commit
c50fbbbb4f
2 changed files with 4 additions and 2 deletions
|
|
@ -213,6 +213,7 @@ export class VsCodeMessenger {
|
|||
diffLines,
|
||||
instant,
|
||||
data.streamId,
|
||||
data.toolCallId,
|
||||
);
|
||||
} else {
|
||||
const prompt = `The following code was suggested as an edit:\n\`\`\`\n${data.text}\n\`\`\`\nPlease apply it to the previous code.`;
|
||||
|
|
|
|||
|
|
@ -34,11 +34,12 @@ export function EditFile(props: EditToolCallProps) {
|
|||
disableManualApply={true}
|
||||
singleCodeblockStreamId={applyState?.streamId}
|
||||
/>
|
||||
{isStreaming && applyState?.status === "streaming" && (
|
||||
{/* TODO better indicator of generation at bottom */}
|
||||
{/* {isStreaming && applyState?.status === "streaming" && (
|
||||
<div className={`m-2 flex items-center justify-center`}>
|
||||
Generating...
|
||||
</div>
|
||||
)}
|
||||
)} */}
|
||||
{!isStreaming && applyState?.status === "done" && (
|
||||
<div className={`m-2 flex items-center justify-center`}>
|
||||
<AcceptRejectAllButtons
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue