Leo
c2f557edde
refactor: multiple code improvements ( #2771 )
2024-07-04 18:51:22 +08:00
Xingyao Wang
41ddba84bd
[Agent] (Potentially) improve Editing using diff ( #2685 )
...
* add replace-based block edit & preliminary test case fix
* further fix the insert behavior
* make edit only work on first occurence
* bump codeact version since we now use new edit agentskills
* update prompt for new agentskills
* update integration tests
* make run_infer.sh executable
* remove code block for edit_file
* update integration test for prompt changes
* default to not use hint for eval
* fix insert emptyfile bug
* throw value error when `to_replace` is empty
* make `_edit_or_insert_file` return string so we can try to fix some linter errors (best attempt)
* add todo
* update integration test
* fix sandbox test for this PR
2024-07-02 11:50:15 +09:00
மனோஜ்குமார் பழனிச்சாமி
9919d8e448
Provide [Package already installed] info to LLM ( #2642 )
...
* Provide [Package already installed] info to LLM
* regenerate tests
2024-06-27 09:03:54 +00:00
Boxuan Li
009f6f9ebc
Integration tests: check agent error and fix test_edits ( #2473 )
...
* Integration tests: check agent error and fix test_edits
* Fix CodeActSWEAgent test_ipython_module prompt logs
2024-06-17 20:39:03 +08:00
tobitege
823298e0d0
fix: Agentskills enhancements ( #2384 )
...
* avoid repeat logging of unneeded messages
* refactored append/edit_file (tests next)
* agentskills and unit test fixes
* testing
* more changes and test prompts
* smaller changes
* final test fixes
* remove dead code from test_agent.py
* reverting unneeded changes
* updated tests, more tweaks to skills
* refactor (#2442 )
* chores: fix DelegatorAgent description (#2446 )
* change
* change comments
* fix
* stopped container to prevent port issues. (#2447 )
* chore: remove useless browsing code in CodeActSWEAgent (#2438 )
* remove useless
* fix integration test
* Regenerate test_ipython_module artifacts for CodeActSWEAgent
---------
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
* Merge remote-tracking branch 'upstream/main' into agent-fileops
* unneeded tweak
* * fix edit_file to not introduce extra newline
* updated docstrings with more details for LLM
* fix legacy typo in prompts causing ]] instead of ]
* several mock files regenerated
* Regen'ed CodeActSWEAgent integration tests
* fix _print_window signature; explicit exception type in _is_valid_path
* splitlines with named param
---------
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com>
Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
2024-06-16 15:06:46 -04:00
Yufan Song
426e429b18
chore: remove useless browsing code in CodeActSWEAgent ( #2438 )
...
* remove useless
* fix integration test
* Regenerate test_ipython_module artifacts for CodeActSWEAgent
---------
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
2024-06-15 10:53:03 +08:00
Yufan Song
90ec0095df
Add integration test for CodeActSWEAgent ( #2377 )
...
* add test log
* remove browsing internet
* add test by GPT-4o
* fix prompts
* change test_agent
* fix test
* fix nits
2024-06-12 02:46:15 +08:00