Commit Graph

128 Commits

Author SHA1 Message Date
Saoud Rizwan
6682321b6b Add one tool user per message rule and special considerations 2024-10-09 01:49:58 -04:00
Saoud Rizwan
1c5dca9346 Send command output for attempt completion commands 2024-10-09 01:49:58 -04:00
Saoud Rizwan
99f4e06024 Fix text not rendering between multiple tool uses; fix sending tool results for partial interrupted tools 2024-10-09 01:49:58 -04:00
Saoud Rizwan
289ccfe0e5 Fixes 2024-10-09 01:49:58 -04:00
Saoud Rizwan
ba6546e0b8 Fixes 2024-10-09 01:49:58 -04:00
Saoud Rizwan
46868d3140 Guard against model running commands that conflict with active terminals 2024-10-09 01:49:57 -04:00
Saoud Rizwan
ca441c4bd6 Remove one tool use per message rule 2024-10-09 01:49:57 -04:00
Saoud Rizwan
27abea6ca5 Fixes 2024-10-09 01:49:57 -04:00
Saoud Rizwan
7b4ad310ad Remove partial xml tag from end of text content 2024-10-09 01:49:57 -04:00
Saoud Rizwan
114c850e4e Pre-process file content to remove artifacts 2024-10-09 01:49:57 -04:00
Saoud Rizwan
766ead99dd Remove system prompt requirement for xml tags to be on their own line 2024-10-09 01:49:57 -04:00
Saoud Rizwan
61068fb387 Add better xml parsing to handle params and values on the same line 2024-10-09 01:49:57 -04:00
Saoud Rizwan
3ea474795a Revert 2024-10-09 01:49:57 -04:00
Saoud Rizwan
ab3d987f0c Handle model putting param on one line 2024-10-09 01:49:57 -04:00
Saoud Rizwan
c908b78e1b Fixes 2024-10-09 01:49:57 -04:00
Saoud Rizwan
f6a14fdfb9 Add markdown rendering for model description; fixes 2024-10-09 01:49:57 -04:00
Saoud Rizwan
7cb0c524e5 Add OpenRouter custom model scheme 2024-10-09 01:49:57 -04:00
Saoud Rizwan
e50edd0767 Fixes 2024-10-09 01:49:57 -04:00
Saoud Rizwan
237c9aa02f Fix recursive api request generator 2024-10-09 01:49:56 -04:00
Saoud Rizwan
d6f8c973e3 Fix API req error showing when resuming task 2024-10-09 01:49:56 -04:00
Saoud Rizwan
79e23c998c Add stream error handling so user can retry 2024-10-09 01:49:56 -04:00
Saoud Rizwan
8d70c37f2a Fix streaming failure not getting shown 2024-10-09 01:49:56 -04:00
Saoud Rizwan
0c290b4108 Fix cancel button 2024-10-09 01:49:56 -04:00
Saoud Rizwan
05920b5233 Interrupt stream if user provides feedback 2024-10-09 01:49:56 -04:00
Saoud Rizwan
d3ba8357ec Remove partial closing tags from params 2024-10-09 01:49:56 -04:00
Saoud Rizwan
77e0738d4c Fixes 2024-10-09 01:49:56 -04:00
Saoud Rizwan
0dc0d95b63 Provide instructions to model when it fails to use tools 2024-10-09 01:49:56 -04:00
Saoud Rizwan
ed9fea780f Fix flickering bug 2024-10-09 01:49:56 -04:00
Saoud Rizwan
f3fe7c9f5a Fixes 2024-10-09 01:49:56 -04:00
Saoud Rizwan
3397920cb9 Fixes 2024-10-09 01:49:56 -04:00
Saoud Rizwan
6b5f33c7e8 Fixes 2024-10-09 01:49:56 -04:00
Saoud Rizwan
99108eaa50 Fixes 2024-10-09 01:49:56 -04:00
Saoud Rizwan
42bcc4420d Add API streaming failed error handling 2024-10-09 01:49:55 -04:00
Saoud Rizwan
9b1b9c10a1 Add Cancel button 2024-10-09 01:49:55 -04:00
Saoud Rizwan
c2a2e1b54c Add text decorations based edit streaming 2024-10-09 01:49:55 -04:00
Saoud Rizwan
20c1984fb0 Refactor DiffViewProvider 2024-10-09 01:49:55 -04:00
Saoud Rizwan
8b243fa536 Refactor file editing to DiffViewProvider 2024-10-09 01:49:55 -04:00
Saoud Rizwan
204116c6d3 Refactor tool call to tool use 2024-10-09 01:49:55 -04:00
Saoud Rizwan
156f735c89 Refactor AssistantMessage 2024-10-09 01:49:55 -04:00
Saoud Rizwan
ab327e3bbf Refactor util functions out of claude dev 2024-10-09 01:49:55 -04:00
Saoud Rizwan
9e01aaa3d3 Refactor file names 2024-10-09 01:49:55 -04:00
Saoud Rizwan
2b63b91bfb Refactor out file helpers into fs.ts 2024-10-09 01:49:55 -04:00
Saoud Rizwan
ebead1b1fa Refactor tool responses 2024-10-09 01:49:55 -04:00
Saoud Rizwan
06ccaf6f67 Implement streaming for all providers 2024-10-09 01:49:55 -04:00
Saoud Rizwan
59c188019a Get openrouter streaming working 2024-10-09 01:49:55 -04:00
Saoud Rizwan
7271152f62 Add ApiStream generator to interface with providers 2024-10-09 01:49:55 -04:00
Saoud Rizwan
19a0ac00bd Remove logs 2024-10-09 01:49:55 -04:00
Saoud Rizwan
c481e5da88 Discourage using too many tool calls in one message 2024-10-09 01:49:55 -04:00
Saoud Rizwan
b4a540a269 Add comment 2024-10-09 01:49:55 -04:00
Saoud Rizwan
6c702d86ee Bug fixes 2024-10-09 01:49:55 -04:00