Commit Graph

140 Commits

Author SHA1 Message Date
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
LiYuanBr 9568b582b8 fix: Modify log level from INFO to DEFAULT as Langfuse doesnt support INFO 2025-05-26 01:24:40 -03:00
Soumyadas15 fb6c130136 chore(dev): fix double escape isue 2025-05-25 02:34:07 +05:30
sharath 7db395dd88
refactor(api): enhance trace handling in response processing 2025-05-24 12:50:36 +00:00
sharath 8255c507a5
fix(backend): enhance trace logging levels for error handling and execution status 2025-05-22 08:36:58 +00:00
sharath ff1670be90
feat(backend): langfuse traces 2025-05-21 00:39:28 +00:00
marko-kraemer 70755d3074 save all browser states 2025-05-19 01:06:44 +02:00
sharath 35de7f1b40
fix(stream): redis latency issue mitigated 2025-05-15 23:28:28 +00:00
marko-kraemer c6d13b5187 run, thread_run, response processor, raise errs properly 2025-05-10 03:58:57 +02:00
Marco Vinciguerra e1974c8125 feat: removed unused imports 2025-05-07 15:24:00 +02:00
marko-kraemer 7ff15d8dc7 make non-anthropic model work with response example, fe padding bottom increase cuz of new chat input 2025-05-07 01:56:52 +02:00
marko-kraemer 12704f2786 fix 2025-05-05 02:53:24 +02:00
Korzhavin Ivan 68fafdd385 Refactor agent and tool configurations to support new model names and parameters
- Adjusted max_tokens logic based on model type, including new conditions for "gpt-4".
- Enhanced MessageTool to include detailed documentation and examples for user interactions.
- Improved ThreadManager to handle new tool choices and reasoning efforts.
- Updated LLM service to incorporate enable_thinking and reasoning_effort parameters.
- Modified chat input component to dynamically manage model selection and thinking options.
2025-05-03 14:17:46 +02:00
marko-kraemer 973861b2d2 wip 2025-05-03 02:26:25 +02:00
mameshini 2d32e91aac Fix: proper param_name for tool parameter mapping 2025-04-30 08:53:32 -07:00
marko-kraemer 0fc3c4a573 print 2025-04-24 17:05:05 +01:00
LE Quoc Dat 034ea37745 add models, better logs 2025-04-24 12:46:22 +01:00
marko-kraemer 8271e0dbd3 FIX 2025-04-23 14:34:23 +01:00
marko-kraemer f9ca36efa0 wip 2025-04-23 09:13:07 +01:00
LE Quoc Dat e3b08b1326 roll-back cost calculation 2025-04-18 17:57:10 +01:00
LE Quoc Dat 17e3e0e68c Merge branch 'main' into dat_context 2025-04-18 17:01:59 +01:00
marko-kraemer 749565c3d1 wip 2025-04-18 11:50:39 +01:00
LE Quoc Dat 06f1782f4b fix nasty bug xN system prompt 2025-04-18 09:09:09 +01:00
LE Quoc Dat 8669e40312 disable context manager 2025-04-18 07:13:44 +01:00
marko-kraemer 582f0d228b unified message structure on sse stream & message get thread 2025-04-18 06:22:06 +01:00
LE Quoc Dat 6e4e2673d5 cost calculation 2025-04-18 05:59:00 +01:00
LE Quoc Dat c84ee59dc6 thinking & reasoning 2025-04-18 05:49:41 +01:00
LE Quoc Dat 9beb4dc215 fix non-stream async 2025-04-18 04:41:55 +01:00
marko-kraemer aae78a0667 response processor add metadata parsing_details for tool results 2025-04-18 04:07:26 +01:00
marko-kraemer ecf78291cf save assistant message id in tool result stream 2025-04-18 02:17:29 +01:00
marko-kraemer 647e10a74b wip 2025-04-17 23:17:48 +01:00
Adam Cohen Hillel 6a59b8e110 token manager 2025-04-17 00:17:09 +01:00
marko-kraemer 9fbad13468 wip 2025-04-16 23:13:04 +01:00
marko-kraemer 6bcd37d6c5 wip 2025-04-16 06:11:23 +01:00
marko-kraemer dc1c19e5db wip 2025-04-16 06:09:31 +01:00
marko-kraemer 1b9553b865 revert back to old fe 2025-04-16 06:01:57 +01:00
Adam Cohen Hillel f018f311ef "cost" 2025-04-14 21:22:03 +01:00
Adam Cohen Hillel 41c36480b8 comment out cost 2025-04-14 21:19:24 +01:00
Adam Cohen Hillel 5a7a6ef7d3 track cost and tokens in message 2025-04-14 01:31:23 +01:00
marko-kraemer f42fc5d34b wip 2025-04-13 01:33:23 +01:00
marko-kraemer 3d6d81f4f6 wip 2025-04-12 02:22:28 +01:00
marko-kraemer 31205b0320 agent wip 2025-04-11 00:53:01 +01:00
marko-kraemer 700ccddbad fix error where it wont add messages to thread if max_xml_tool_calls x > 0 2025-04-10 18:13:12 +01:00
marko-kraemer 57d08c76af wip 2025-04-10 17:02:21 +01:00
marko-kraemer cff9ba57f6 include xml examples, agent wip 2025-04-10 14:13:32 +01:00
marko-kraemer 5811cf9331 xml max tool calls for more control 2025-04-09 00:20:58 +01:00
marko-kraemer 58ec53e4a5 wip 2025-04-08 00:38:18 +01:00
marko-kraemer f29455d44e native tool calling v1 complete 2025-04-07 19:15:13 +01:00
marko-kraemer 6eb516e61d native tool call wip 2025-04-07 18:35:40 +01:00
marko-kraemer 91081bc646 tool & is llm message for xml tool adds 2025-04-07 12:23:32 +01:00
marko-kraemer 3c0634f6bc fix duplicate agent run 2025-04-06 17:45:02 +01:00
Marko Kraemer 7ee68b4282
Refactor to messages table
* wip

* bedrock support

* wip

* frontend messages table imp

* messages imp
2025-04-06 11:10:18 +02:00
marko-kraemer cec49e2cd6 func name & xml_tag_name 2025-04-05 17:51:07 +01:00
marko-kraemer c1d7c82f82 func name & xml_tag_name 2025-04-05 17:38:55 +01:00
marko-kraemer 308c31e25f tool index 2025-04-05 13:32:51 +01:00
marko-kraemer cf13f3af31 response processor orga refactor 2025-04-05 13:25:03 +01:00
marko-kraemer eea33e967c tool call fail msg in stream 2025-04-05 12:01:15 +01:00
marko-kraemer d27b814c97 tool indexes & msgs in stream 2025-04-05 11:55:52 +01:00
Marko Kraemer 1bf0bf0f7d
wip (#25)
* wip

* refactor wip; finished v1 revamped instant stream response

* mark agent as stopped

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* exec on stream as background task
2025-04-05 12:40:06 +02:00
Marko Kraemer 9edad0073b
v1 full refactor LLM Response Processor (#24) 2025-04-04 17:06:49 +02:00
marko-kraemer 57153f19c8 fix imps 2025-04-01 11:49:35 -07:00
marko-kraemer f957d3dfdb revert back to bug 2025-04-01 00:27:39 -07:00
marko-kraemer 12c37c663b only 1 agent run wip 2025-03-31 23:41:18 -07:00
marko-kraemer 110df43921 fix attempt double message add 2025-03-31 20:30:32 -07:00
marko-kraemer 486f11ba77 logger 2025-03-31 19:36:26 -07:00
marko-kraemer c86d7d687a logger v1 2025-03-31 19:27:06 -07:00
marko-kraemer cbf7ca141e logger v1 2025-03-31 18:26:52 -07:00
marko-kraemer aff6f8303b fe wip 2025-03-30 22:27:21 -07:00
marko-kraemer 397c9a7dc6 fe reference wip 2025-03-29 23:48:57 -07:00