mirror of
https://github.com/voideditor/void
synced 2026-05-24 01:48:25 +00:00
misc
This commit is contained in:
parent
4dae90e047
commit
732269de87
3 changed files with 6 additions and 4 deletions
|
|
@ -1216,7 +1216,7 @@ class EditCodeService extends Disposable implements IEditCodeService {
|
|||
onFinishEdit()
|
||||
}
|
||||
|
||||
this._writeURIText(uri, newContent, 'wholeFileRange', { shouldRealignDiffAreas: false })
|
||||
this._writeURIText(uri, newContent, 'wholeFileRange', { shouldRealignDiffAreas: true })
|
||||
onDone()
|
||||
}
|
||||
|
||||
|
|
@ -1947,6 +1947,8 @@ class EditCodeService extends Disposable implements IEditCodeService {
|
|||
if (blocks.length === 0) {
|
||||
this._notificationService.info(`Void: We ran Fast Apply, but the LLM didn't output any changes.`)
|
||||
}
|
||||
this._writeURIText(uri, originalFileCode, 'wholeFileRange', { shouldRealignDiffAreas: true })
|
||||
|
||||
|
||||
try {
|
||||
this._instantlyApplySRBlocks(uri, fullText)
|
||||
|
|
|
|||
|
|
@ -218,8 +218,8 @@ const nameOfChatMode = {
|
|||
|
||||
const detailOfChatMode = {
|
||||
'normal': 'Normal chat',
|
||||
'gather': 'Discover relevant files',
|
||||
'agent': 'Edit files and use tools',
|
||||
'gather': 'Reads files, but can\'t edit',
|
||||
'agent': 'Edits files and uses tools',
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ const PastThreadElement = ({ pastThread, idx, hoveredIdx, setHoveredIdx, isRunni
|
|||
<div className="flex items-center justify-between gap-1">
|
||||
<span className="flex items-center gap-2 min-w-0 overflow-hidden">
|
||||
{/* spinner */}
|
||||
{isRunning === 'LLM' || isRunning === 'tool' ? <LoaderCircle className="animate-spin bg-void-stroke-1 flex-shrink-0 flex-grow-0" size={14} />
|
||||
{isRunning === 'LLM' || isRunning === 'tool' || isRunning === 'idle' ? <LoaderCircle className="animate-spin bg-void-stroke-1 flex-shrink-0 flex-grow-0" size={14} />
|
||||
:
|
||||
isRunning === 'awaiting_user' ? <MessageCircleQuestion className="bg-void-stroke-1 flex-shrink-0 flex-grow-0" size={14} />
|
||||
:
|
||||
|
|
|
|||
Loading…
Reference in a new issue