Commit Graph

14 Commits

Author SHA1 Message Date
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