Commit Graph

118 Commits

Author SHA1 Message Date
Sharath 8cbaf3d44a
fix(backend): anthropic overloaded fallback failure (#929) 2025-07-11 18:36:15 +05:30
marko-kraemer b0ab413866 fix: optimize blocking command execution with marker-based completion detection
- Use unique completion markers instead of unreliable prompt detection
- Reduce polling from 2s to 0.5s intervals for faster response
- Fix SessionExecuteRequest import path
- Commands now return immediately upon completion vs waiting full timeout
2025-07-06 20:07:26 +02:00
marko-kraemer dc5496ae94 wip 2025-07-06 16:40:27 +02:00
marko-kraemer 4bbc03f674 wip 2025-07-06 06:40:44 +02:00
marko-kraemer 6a6b9d8e85 refactor wip 2025-07-05 18:07:35 +02:00
Soumyadas15 18057a4db6 chore(dev): agent agnostic threads 2025-06-26 16:59:04 +05:30
sharath 38f4355838
fix(thread_manager): implement batching for message retrieval to enhance database performance and mitigate db limits 2025-06-22 16:42:55 +00:00
sharath 6501543814
feat(thread_manager): implement middle-out message compression to optimize message handling 2025-06-19 18:05:45 +00:00
sharath 184b54fc8f
fix(thread_manager): enhance content validation to include interactive elements 2025-06-19 14:19:48 +00:00
sharath e8dbc55165
fix(thread_manager): add message compression by omitting messages to handle token limits 2025-06-18 21:25:32 +00:00
sharath 05a80e5f55
fix(thread_manager): adjust truncation logic and improve token compression handling 2025-06-18 07:25:29 +00:00
sharath 3507230ed0
fix(compress_messages): truncate the middle of last msg and reduce token size 2025-06-18 05:53:51 +00:00
Sharath 85cb4b032b
Update backend/agentpress/thread_manager.py 2025-06-16 14:39:13 +05:30
sharath e7ef1c64c5
fix(thread_manager): enhance message content parsing and ensure proper compression of prepared messages 2025-06-16 09:07:47 +00:00
sharath 2a49ad8936
fix(thread_manager): improve message handling and update max_tokens calculation 2025-06-16 07:06:24 +00:00
sharath 0e41358047
fix(context): context window compression 2025-06-15 21:14:09 +00:00
sharath c00497865f
fix(thread_manager): adjust max_tokens calculation for deepseek model 2025-06-06 18:48:55 +00:00
Soumyadas15 ed97fc1682 update content length fix - prod 2025-06-06 17:01:07 +05:30
Soumyadas15 3f771c2a70 Merge branch 'main' into content-length-fix 2025-06-06 16:40:51 +05:30
Soumyadas15 4d7bff34c5 fix content length issue 2025-06-06 15:49:47 +05:30
sharath b5ae395fed
refactor(thread-manager): standardize max_tokens parameter in message compression methods 2025-06-06 09:18:34 +00:00
sharath 93660e4a61
feat(thread-manager): add message compression methods to handle long messages efficiently 2025-06-06 08:56:14 +00:00
Bobbie 1b269a96b6
Merge pull request #658 from escapade-mckv/prod-2a
Prod 2a
2025-06-06 13:21:29 +05:30
Sharath aee5945907
hotfix(context-limit): truncate more content to allow more messages 2025-06-06 12:36:11 +05:30
Sharath 25fcdfc058
hotfix(response_processor): remove debug log 2025-06-05 18:03:52 +05:30
sharath 524e1beb67
Merge branch 'PRODUCTION' 2025-06-05 12:17:59 +00:00
sharath 6fb2c544d3
fix(agent): increase timeout for pending Redis operations and improve error logging for cost calculation 2025-06-05 11:21:34 +00:00
sharath 11e8b4f7bd
Merge branch 'PRODUCTION' into sync/production 2025-06-05 06:48:53 +00:00
sharath eda0c69bea
fix(context-limit-retry): don't retry when context limit reached 2025-06-05 06:46:27 +00:00
Soumyadas15 e99254544d fix(bug): fix double json dumps in response processor 2025-06-03 12:51:38 +05:30
Soumyadas15 8a7c33c86b chore(dev): thread compression for new format 2025-06-03 12:02:50 +05:30
Vukasin a479c7385e chore: remove logs 2025-06-02 22:02:50 +02:00
Vukasin 0c3b520fe6 Merge remote-tracking branch 'upstream/main' into feat/port-fix-and-panel-ajustments 2025-06-02 21:11:07 +02:00
Vukasin 4cd6753e42 fix: remove cost add litellm response usage 2025-06-02 21:06:39 +02:00
Soumyadas15 f65cc3eba9 Merge branch 'main' into mcp-5a-custom-1 2025-06-02 16:34:49 +05:30
Soumyadas15 c8d39d1fdd feat: add http mcp support 2025-06-02 16:34:14 +05:30
Vukasin 7a8a45cfe8 Merge remote-tracking branch 'upstream/main' into feat/port-fix-and-panel-ajustments 2025-06-01 17:52:11 +02:00
Vukasin 82df42badf fix: response procesor & billing modal and other fixes 2025-06-01 17:50:09 +02:00
Soumyadas15 d53f2f7a18 chore(dev): cleanup frontend 2025-06-01 02:23:53 +05:30
Soumyadas15 b42e78b598 chore(dev): agent builder 2025-05-31 21:01:20 +05:30
Soumyadas15 e6de1e0f7f Merge branch 'main' into mcp-5a 2025-05-30 19:02:53 +05:30
Soumyadas15 dedd6432bb chore(dev): auto generate xml schema or mcp 2025-05-30 13:01:11 +05:30
Soumyadas15 546d5078ea chore(dev): properly process MCP results 2025-05-30 01:04:41 +05:30
sharath c14a2e4cb4
fix(thread_manager): reduce maximum message content length from 300k to 200k characters to prevent context overload 2025-05-29 15:50:29 +00:00
sharath 0bfd7ecb3f
fix(thread_manager): adjust token count condition to handle default max token value 2025-05-29 15:28:53 +00:00
sharath 16ba4f7c36
fix(thread_manager): update message selection query to include only message_id and content 2025-05-29 14:20:57 +00:00
sharath 960dd671f2
feat(context-compression): add ExpandMessageTool for message expansion and integrate into agent run process 2025-05-29 13:47:31 +00:00
Soumyadas15 80d4784f4c chore(dev): refactor xml tool calls 2025-05-29 01:20:30 +05:30
Soumyadas15 57407277ed chore(dev): refactor xml tools 2025-05-28 17:37:54 +05:30
sharath 11da6ad829
fix(tools): invalid xml issues and unnecessary validation 2025-05-26 20:32:49 +00:00