Repository navigation
Commit 7c65a2d
committed
Refine prompt validation checks and execution order in prompt handlers
- in 'edit' mode, context is required, so sending with 'ctrl' should immediately result in notification about empty context
├── apps
│ └── editor
│ └── src
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ ├── handle-autofill.ts
│ │ │ ├── handle-invoke-agentic-cli.ts
│ │ │ ├── handle-make-api-call.ts
│ │ │ └── utils
│ │ │ ├── build-prompt-payload.ts
│ │ │ └── show-context-cannot-be-empty-warning.ts
│ │ └── prompt-view-provider.ts
│ └── frontend
│ └── Main
│ ├── Main.tsx
│ └── MainView
│ └── MainView.tsx
└── packages
└── ui
└── src
└── components
└── editor
└── common
└── prompts
└── PromptField
└── hooks
└── use-handlers
└── handle-submit.ts1 parent 6a11af4 commit 7c65a2d
2 files changed
Lines changed: 24 additions & 24 deletions
File tree
- apps/editor/src/views/prompt/backend/message-handlers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
35 | 58 | | |
36 | 59 | | |
37 | 60 | | |
| |||
51 | 74 | | |
52 | 75 | | |
53 | 76 | | |
54 | | - | |
55 | | - | |
56 | 77 | | |
57 | 78 | | |
58 | 79 | | |
59 | 80 | | |
60 | 81 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments