Commit Graph

125 Commits

Author SHA1 Message Date
LE Quoc Dat 0215b81b09 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:06:04 +02:00
LE Quoc Dat cb424d8fe7 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:55:45 +02:00
LE Quoc Dat deb442cbf7 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:40:07 +02:00
LE Quoc Dat 9a0dc4e200 AI: can we streamline the edit-file just like the create_file tool, in the front end ?
like stream the code-edit output of the agent; Then we should be able to show the diff as well, when the tool complete. We get the original file content, and the full updated code (output of morph) and some how send it to the front end.

the front end should show this properly , concisely so user can see the changes in green / red.

This shouldn't change the content feed to the model btw. Like it will pollute the context.

make a plan what to do first, not make changes yet
2025-07-28 20:46:21 +02:00
mykonos-ibiza f4df0087b1 fix model name for anthropic model before fallback to OpenRouter 2025-07-25 12:59:08 +05:30
Krishav Raj Singh f99027b848 remove multiple var should_auto_continue 2025-07-24 20:51:21 +05:30
Krishav Raj Singh e4a6f5a1ef fix: auto continue response if finish_reason is length 2025-07-24 20:22:44 +05:30
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