Commit Graph

211 Commits

Author SHA1 Message Date
Saoud Rizwan
26bcc0b7ca Replace tool blocks with xml tags format to allow continuing old tasks without passing in tool schema to API 2024-10-09 03:25:19 -04:00
Saoud Rizwan
73acab8bbe Prepare for release 2024-10-09 01:50:00 -04:00
Saoud Rizwan
817584d8b5 Fixes 2024-10-09 01:50:00 -04:00
Saoud Rizwan
88908cfbbf Fixes 2024-10-09 01:50:00 -04:00
Saoud Rizwan
da505170d4 Fixes 2024-10-09 01:50:00 -04:00
Saoud Rizwan
519c6bb249 Fixes 2024-10-09 01:49:59 -04:00
Saoud Rizwan
5d58a08e6c Fixes 2024-10-09 01:49:59 -04:00
Saoud Rizwan
957fe4ad02 Fixes 2024-10-09 01:49:59 -04:00
Saoud Rizwan
5190d30ae3 Refactor commands 2024-10-09 01:49:59 -04:00
Saoud Rizwan
c04dfc76cb Misc refactor cline 2024-10-09 01:49:59 -04:00
Saoud Rizwan
09001fa72a Refactor claudeMessages 2024-10-09 01:49:59 -04:00
Saoud Rizwan
7612e50a5f Refactor ClineApiReq 2024-10-09 01:49:59 -04:00
Saoud Rizwan
0932361c7d Refactor ClineSay 2024-10-09 01:49:59 -04:00
Saoud Rizwan
d5a998a23a Refactor ClineAsk 2024-10-09 01:49:59 -04:00
Saoud Rizwan
7ee0a58f9b Refactor assistant message 2024-10-09 01:49:59 -04:00
Saoud Rizwan
05eab1f22f Refactor assistant message 2024-10-09 01:49:59 -04:00
Saoud Rizwan
34f160b35a Cleanup 2024-10-09 01:49:59 -04:00
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