Repository navigation
Commit 8e15046
committed
Fix variable shadowing of context token count in update_view_badges
- number of selected files is properly sent to Prompt view but not token count
└── apps
└── editor
└── src
├── context
│ ├── context-initialization.ts
│ ├── helpers
│ │ └── get-selected-files.ts
│ ├── providers
│ │ └── workspace
│ │ ├── modules
│ │ │ └── token-calculator.ts
│ │ └── workspace-provider.ts
│ └── shared-context-state.ts
└── views
└── prompt
├── backend
│ └── prompt-view-provider.ts
├── frontend
│ ├── Main
│ │ ├── Main.tsx
│ │ └── MainView
│ │ ├── MainView.tsx
│ │ └── components
│ │ └── PromptAttachments
│ │ └── PromptAttachments.tsx
│ ├── Prompt.tsx
│ └── hooks
│ ├── use-editor-sync.ts
│ └── use-prompt
│ └── use-prompt.ts
└── types
└── messages.ts1 parent e62a550 commit 8e15046
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments