Commit Graph

244 Commits

Author SHA1 Message Date
Saoud Rizwan
372c4df3bf Refactor claude_messages.json 2024-10-09 01:49:59 -04:00
Saoud Rizwan
d67523596b Refactor ClineMessage 2024-10-09 01:49:59 -04:00
Saoud Rizwan
385c54d3c0 Refactor Cline 2024-10-09 01:49:59 -04:00
Saoud Rizwan
83ce17db11 Refactor ClaudeDev 2024-10-09 01:49:58 -04:00
Saoud Rizwan
5d1e13854e Refactor Cline 2024-10-09 01:49:58 -04:00
Saoud Rizwan
d235c2d1c5 Refactor ClaudeDev 2024-10-09 01:49:58 -04:00
Saoud Rizwan
fe052d28df Refactor ClineProvider 2024-10-09 01:49:58 -04:00
Saoud Rizwan
da3aa7a658 Refactor ClineProvider 2024-10-09 01:49:58 -04:00
Saoud Rizwan
f0315c1520 Fixes 2024-10-09 01:49:58 -04:00
Saoud Rizwan
2176669cb5 Fixes 2024-10-09 01:49:58 -04:00
Saoud Rizwan
6c03fdfbb9 Fix markdown preprocessing 2024-10-09 01:49:58 -04:00
Saoud Rizwan
636e6927f7 Fixes 2024-10-09 01:49:58 -04:00
Saoud Rizwan
4f51316f76 Refactor parseAssistantMessage 2024-10-09 01:49:58 -04:00
Saoud Rizwan
874d667ff4 Move tool use rules to top of system prompt for better results 2024-10-09 01:49:58 -04:00
Saoud Rizwan
5d9b0d26d0 Fixes 2024-10-09 01:49:58 -04:00
Saoud Rizwan
e9a169f19e Make less conversational 2024-10-09 01:49:58 -04:00
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