Commit Graph

942 Commits

Author SHA1 Message Date
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
2de5971adc Add comment 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
2ed84244d5 Remove logs 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
Saoud Rizwan
c1f3185e00 Bug fixes 2024-10-09 01:49:55 -04:00
Saoud Rizwan
1f838bcb1d Bug fixes 2024-10-09 01:49:55 -04:00
Saoud Rizwan
912ae07cbc Get write_to_file streaming working 2024-10-09 01:49:54 -04:00
Saoud Rizwan
103f82145e Fix completion result and text without tool calls 2024-10-09 01:49:54 -04:00