Commit Graph

70 Commits

Author SHA1 Message Date
Saoud Rizwan
3e58160d99 Replace token estimation with using last API response token usage 2024-08-30 22:29:18 -04:00
Saoud Rizwan
dcd6d84632 Adjust context management buffer 2024-08-30 09:51:14 -04:00
Saoud Rizwan
57910c4fa3 Minor fixes 2024-08-30 03:08:55 -04:00
Saoud Rizwan
246070bf8a Limit ripgrep output to avoid expensive searches 2024-08-30 03:03:11 -04:00
Saoud Rizwan
2e438e5df5 Add search_files tool 2024-08-30 01:53:31 -04:00
Saoud Rizwan
e78a58d77d Replace list_files_recursive and list_files_top_level with list_files and automatically provide project file structure when task starts to avoid unnecessary request 2024-08-29 05:58:41 -04:00
Saoud Rizwan
3533dfca42 Fix context management algorithm 2024-08-28 20:58:32 -04:00
Saoud Rizwan
a160e8d67b Improve sliding window algorithm to not break prompt cache so often 2024-08-28 20:32:58 -04:00
Saoud Rizwan
e95bebacda Minor fixes 2024-08-27 00:42:09 -04:00
Saoud Rizwan
273eb3acad Fix sliding window context management handling of images and get more accurate token estimates 2024-08-26 22:49:13 -04:00
Saoud Rizwan
cfd4cbfa36 Fix sliding window taking into account message order 2024-08-26 01:00:00 -04:00
Saoud Rizwan
650283a11f Add sliding window context management 2024-08-26 01:00:00 -04:00
Saoud Rizwan
6a7ab87f68 Refactor 2024-08-26 01:00:00 -04:00
Saoud Rizwan
141fa69c05 Refactor openai messages conversion 2024-08-26 01:00:00 -04:00
Saoud Rizwan
ec33ef5e3a Remove unnecessary trailing resume messages 2024-08-22 04:20:33 -04:00
Saoud Rizwan
d1437e6d2d Add task history 2024-08-17 08:29:30 -04:00
Saoud Rizwan
c1012dcd99 Clean up util functions 2024-08-10 03:28:52 -04:00
Saoud Rizwan
b6a8c03317 Remove sharp processing and use original images in requests 2024-08-08 07:15:14 -04:00
Saoud Rizwan
911dd159cd Add ability to attach images to messages 2024-08-08 02:44:51 -04:00
Saoud Rizwan
c09a8462d7 Add support for OpenRouter and AWS Bedrock 2024-08-03 14:24:56 -04:00