Skip to content

Commit 29bcbe0

Browse files
committed
Show warning message when agentic CLI response has no valid blocks
- 'No valid response to apply.' should be shown when cli response doesn't have any good content to apply └── apps └── editor └── src ├── commands │ └── apply-response-command │ ├── apply-response-command.ts │ ├── response-processor │ │ └── response-processor.ts │ └── utils │ └── response-parser │ ├── parsers │ │ ├── index.ts │ │ └── standard-parser │ │ ├── standard-parser.ts │ │ └── test │ │ └── standard-parser.spec.ts │ └── response-parser.ts ├── i18n │ └── translations │ └── commands │ └── apply-response-command.ts ├── utils │ └── agentic-cli-invocation │ └── invoke-agentic-cli.ts └── views └── prompt └── backend └── message-handlers └── handle-invoke-agentic-cli.ts
1 parent dade5bf commit 29bcbe0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/editor/src/commands/apply-response-command/apply-response-command.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ export const apply_response_command = (params: {
181181
patch_repair_items.length === 0
182182
) {
183183
if ((args as any)?.is_from_agentic_cli) {
184+
vscode.window.showWarningMessage(
185+
t('command.apply-response-command.error.no-valid-response')
186+
)
184187
return false
185188
}
186189
}

0 commit comments

Comments
 (0)