Commit Graph

241 Commits

Author SHA1 Message Date
Nick Sweeting b512e08364 minor compat msg improvements and dead code removal 2025-05-17 05:10:31 -07:00
Nick Sweeting 90dad4a39a refactor to use new BrowserSession model 2025-05-17 04:54:13 -07:00
Nick Sweeting 84d3013aad handle case where model responds with an object in a list 2025-05-06 17:38:11 +08:00
Nick Sweeting 28906fd5d6 print a warning if any required sensitive data keys are not defined 2025-05-04 20:18:52 +08:00
Nick Sweeting 66b3c26df5 add pyupgrade to lint rules 2025-05-02 15:21:23 +08:00
Nick Sweeting 38ab6c156c fix linter 2025-04-30 16:01:33 +08:00
Nick Sweeting 05c89118ea Merge pull request #1257 from KamilU01/main 2025-04-29 09:40:19 -07:00
Kamil Ujec b8a8170d2a Added support for gemma instruction-tuned models 2025-04-24 20:25:27 +02:00
Nick Sweeting ab859f4252 fix errant key 2025-04-21 14:17:32 -07:00
Nick Sweeting 590733da87 Merge branch 'main' into fix/1430/example-tool-call-click-action 2025-04-21 11:52:39 -07:00
Nick Sweeting 8b165d5997 fix ruff errors in other files 2025-04-21 10:56:06 -07:00
lynn b0e27f01fe fix: update example_tool_call to use click_element_by_index action 2025-04-21 16:32:52 +08:00
Nick Sweeting 015a93dd9a Merge branch 'main' into tool-use-example 2025-03-31 11:38:24 -07:00
Christian Clauss e7c3f43808 Fix typos discovered by codespell 2025-03-31 07:47:56 +02:00
Nick Sweeting da0c383988 ignore langchain beta warnings 2025-03-30 14:55:42 -07:00
Alezander9 f19349eccf improve example tool call in _init_messages to encourage model reasoning 2025-03-30 12:34:53 -07:00
Deshraj Yadav 55e5e2168e Add support for procedural memory 2025-03-28 19:05:21 -07:00
Nick Sweeting fb6fa259a8 apply ruff safe fixes 2025-03-28 18:11:36 -07:00
Nick Sweeting b892b75fdc update dev setup docs 2025-03-28 01:11:10 -07:00
Nick Sweeting 1cbe93f8a3 Merge pull request #998 from cheewba/bugfix/empty-dir
Bugfix: error when trying to create empty dir.
2025-03-25 12:52:55 -07:00
மனோஜ்குமார் பழனிச்சாமி 3bd1218aa6 Ignore LangChainBetaWarning 2025-03-23 11:56:59 +05:30
alex 5dbc55bd46 Bugfix: in case of empty dirname, error raised when trying to create dirs 2025-03-11 10:25:27 +01:00
codenoid d68d1f5019 Clean up unused import and remove trailing whitespace
- Removed unused 're' import from message_manager/utils.py
- Removed trailing whitespace in agent/service.py
2025-03-11 12:24:27 +07:00
codenoid 65f82588aa Fix DeepSeek model name matching in message conversion
- Updated string comparison for DeepSeek model names to use 'in' operator
- Corrected string literal comparison for more flexible model name detection
2025-03-11 12:12:40 +07:00
codenoid 10f0189049 Improve DeepSeek model handling and think tag removal
- Enhanced model name matching for DeepSeek models using 'in' operator
- Improved think tag removal to handle stray closing tags
- Updated message conversion and plan processing for DeepSeek models
2025-03-11 12:10:11 +07:00
Magnus Müller ddd8648aaa Refactor message position handling and improve last step messaging
- Update `_add_message_with_tokens` and `add_message` methods to support `None` as default position
- Modify last step warning message in agent service
- Add logging for last step completion
- Improve type hints for message position parameters
2025-02-23 07:03:01 -08:00
Magnus Müller b6e18197a5 Rename total_tokens to current_tokens in message history tracking 2025-02-22 22:31:37 -08:00
Magnus Müller a47ea601fa Fix error in state if error ends with \n 2025-02-21 19:12:08 -08:00
Magnus Müller 6dfe07f1a3 Delete page_summary 2025-02-21 16:56:46 -08:00
Magnus Müller 758dd75bbe Make test compatible 2025-02-21 16:56:35 -08:00
Magnus Müller bf5b180da5 Include timings for more functions 2025-02-21 16:18:43 -08:00
Magnus Müller 4bb161804d Fix message manager - init only if not already messages in history 2025-02-20 12:17:39 -08:00
Magnus Müller bbac41cc76 Clean up add_tool_message 2025-02-18 12:54:31 -08:00
Magnus Müller 75d7e455a4 Merge remote-tracking branch 'origin/gregor/random-restructure' into dev 2025-02-18 12:05:17 -08:00
Magnus Müller bbba06b46a Merge branch 'LIB-41-fix-extraction-for-text-fields-in-iframe-bodies' into dev 2025-02-18 11:41:27 -08:00
Kushtrim Junuzi 90b8604bf2 fix: Filter out empty values on sensitive_data, Fixes a critical issue with token counts exceeding one million. 2025-02-17 14:26:47 -05:00
Magnus Müller e5fe5681e2 Only show last line of error 2025-02-15 09:06:17 -08:00
Matic Zavadlal 4ccd22d6df Update views.py 2025-02-14 22:05:02 +01:00
Matic Zavadlal af76a92570 stash 2025-02-14 21:55:20 +01:00
Gregor Žunič ded606a233 outsource state 2025-02-13 22:32:18 -08:00
Gregor Žunič aa19548eff outsourced state v1 2025-02-13 21:48:00 -08:00
Matic Zavadlal 441efdf4a1 Update tests.py 2025-02-13 14:47:57 +01:00
Matic Zavadlal ce2a1e6839 stash 2025-02-13 14:37:08 +01:00
Matic Zavadlal 7d7582586e stash 2025-02-13 13:32:18 +01:00
magmueller ea3fd5b083 Check if file paths are allowed 2025-02-04 22:34:15 -08:00
magmueller 02c2f2e5c8 Also merge AI messages 2025-02-04 21:41:19 -08:00
magmueller b88c177d1c Added planer to comine gpt4o with o3 mini 2025-02-03 14:17:38 -08:00
magmueller 566f4012b1 Include page summary in model output 2025-02-01 18:04:32 -08:00
magmueller 79d96a9e1c Add task and example information 2025-02-01 12:41:52 -08:00
magmueller 570d4cd991 Wrap task into """ 2025-02-01 11:55:55 -08:00