Skip to content

Commit

Permalink
Fix inline-edit prompts chat building
Browse files Browse the repository at this point in the history
  • Loading branch information
vovakulikov committed Oct 25, 2024
1 parent bb855ae commit 8accea6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vscode/src/edit/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ export class EditProvider {
onTurnComplete: async () => {
typewriter.close()
typewriter.stop()
void this.handleResponse(text, false)
return Promise.resolve()
return this.handleResponse(text, false)
},
})
if (this.config.task.intent === 'test') {
Expand Down Expand Up @@ -157,7 +156,7 @@ export class EditProvider {
break
}
case 'complete': {
void multiplexer.notifyTurnComplete()
await multiplexer.notifyTurnComplete()
break
}
case 'error': {
Expand Down

0 comments on commit 8accea6

Please sign in to comment.