Repository navigation
Commit 6baa73e
committed
Include completed tasks in token count calculations and content checks
- are 'completed tasks' included in 'prompt token count'? They should
- once 'completed tasks' are cleared, 'prompt token count' never updates on itself
├── apps
│ └── editor
│ └── src
│ ├── utils
│ │ └── prompt-builder.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ ├── handle-clear-completed-tasks.ts
│ │ │ ├── handle-save-completed-tasks.ts
│ │ │ └── utils
│ │ │ ├── build-cli-prompt.ts
│ │ │ └── build-prompt-payload.ts
│ │ └── prompt-view-provider.ts
│ ├── frontend
│ │ ├── Main
│ │ │ ├── Main.tsx
│ │ │ └── MainView
│ │ │ └── MainView.tsx
│ │ ├── Prompt.tsx
│ │ └── hooks
│ │ └── use-prompt
│ │ └── use-prompt.ts
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
└── common
└── prompts
└── PromptField
├── PromptField.tsx
└── components
└── CompletedTasks
└── CompletedTasks.tsx1 parent 8cf1337 commit 6baa73e
3 files changed
Lines changed: 17 additions & 4 deletions
File tree
- apps/editor/src/views/prompt/backend
- message-handlers
- packages/ui/src/components/editor/common/prompts/PromptField
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
566 | 569 | | |
567 | 570 | | |
568 | 571 | | |
| |||
580 | 583 | | |
581 | 584 | | |
582 | 585 | | |
583 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
584 | 590 | | |
585 | 591 | | |
586 | 592 | | |
587 | 593 | | |
588 | | - | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
589 | 598 | | |
590 | 599 | | |
591 | 600 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
0 commit comments