GoCodeo
7e21f38185
Added unittest cases for commands/audio_text.py ( #4307 )
...
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-05-19 20:18:32 +01:00
Omri Grossman
a08fc850f0
Used a regex expression for simple URL validation and added tests ( #3763 )
...
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-05-19 19:47:04 +01:00
Luke K (pr-0f3t)
ee98641210
Imagegen delay retry huggingface ( #4194 )
...
Co-authored-by: Kory Becker <kbecker@primaryobjects.com >
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: Nicholas Tindle <nicktindle@outlook.com >
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
2023-05-19 20:19:39 +03:00
GoCodeo
f13aba0958
Added unittest cases for commands/analyze_code.py file ( #4212 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
2023-05-19 12:33:02 +03:00
Media
c4b32e067c
switching from unittest to pytest in test_json_parser ( #3481 )
2023-05-18 00:58:08 -05:00
DGdev91
42a5a0ce13
Make prompt parameters configurable ( #3375 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
2023-05-17 20:12:10 +03:00
Andres Caicedo
7508e9941f
Implement Logging of Self-Feedback in logs/Debug Folder ( #3868 )
...
* Adds SELF_FEEDBACK_FILE_NAME
* Add self-feedback logging to logs/Debug folder
* Reformatting
* Uses JSON file
* Update agent.py
Changes position
* Update agent.py
* Adds PROMPT_FEEDBACK_FILE_NAME
* Update agent.py
* Update agent.py
* Reformatting
* Update agent.py
* Update agent.py
* Changes file names
* Update agent.py
* Reformatting
* Update agent.py
* Changes conts names
* Update agent_manager.py
* Update agent_manager.py
* HARD reset
* Update test_get_self_feedback.py
* Update test_get_self_feedback.py
---------
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com >
2023-05-17 04:38:42 -07:00
Kory Becker
f424fac1d8
Huggingface retry generate_image with delay ( #2745 )
...
Co-authored-by: Media <12145726+rihp@users.noreply.github.com >
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: Nicholas Tindle <nicktindle@outlook.com >
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com >
Co-authored-by; lc0rp
2023-05-16 10:02:55 -05:00
merwanehamadi
6c4426d8e6
Refactor challenges to use cycle count instead of time ( #4222 )
...
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-05-15 21:44:36 -05:00
k-boikov
cf35112291
Fixed error in safe_google_results, added tests ( #3606 )
2023-05-15 20:54:40 +01:00
Richard Beales
16b7e7a91e
Update prompt.py to clarify how to call commands ( #4027 )
...
* Update prompt.py to clarify how to call commands
* new cassettes
* try again with a new cassette
* one last try with the cassette
* black dot
---------
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
2023-05-15 15:55:33 +03:00
merwanehamadi
4143d212a5
Feature/basic proxy ( #4164 )
...
* basic proxy (#54 )
* basic proxy (#55 )
* basic proxy
* basic proxy
* basic proxy
* basic proxy
* add back double quotes
* add more specific files
* write file
* basic proxy
* Put back double quotes
2023-05-14 11:07:37 +12:00
Cenny
2f7beebc61
Make sdwebui tests pass (when SD is running) ( #3721 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
2023-05-13 15:06:50 -05:00
Media
900de5fe63
Challenge: Kubernetes and documentation ( #4121 )
...
* challenge_kubes_and_readme
* docs
* testing
* black and isort
* revision
* lint
* comments
* blackisort
* docs
* docs
* deleting_cassette
* suggestions
* misspelling_errors
---------
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com >
2023-05-13 12:21:21 -07:00
Robin Richtsfeld
7a34d49264
Fix milvus_memory_test.py mock Config ( #3424 )
...
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
2023-05-13 17:19:18 +03:00
minfeng-ai
23e1e1ed53
fix typos ( #3998 )
...
Co-authored-by: Minfeng Lu <minfenglu@Minfengs-MacBook-Pro.local >
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-05-08 14:10:58 +01:00
merwanehamadi
33a3e6f998
Feature/centralize prompt ( #3990 )
...
Co-authored-by: xiao.hu <454292663@qq.com >
2023-05-08 07:24:53 +01:00
merwanehamadi
baa7873ec1
memory challenge c inconsistent ( #3985 )
2023-05-07 20:16:26 -05:00
Douglas Schonholtz
dc959596fc
Memory Challenge C ( #3908 )
...
* Memory Challenge C
* Working cassettes
* Doc fixes
* Linting and doc fix
* Updated cassette
* One more cassette try
---------
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com >
2023-05-07 16:28:43 -07:00
AbTrax
e12438de41
Self feedback Improvement ( #3680 )
...
* Improved `Self-Feedback`
* minor tweak
* Test: Updated `test_get_self_feedback.py`
2023-05-05 09:09:21 -07:00
bszollosinagy
ea08050049
BUGFIX: Selenium Driver object reference was included in the browsing results for some reason ( #3642 )
...
* * there is really no need to return the reference to the Selenium driver along with the text summary and list of links.
* * removing unused second return value from browse_website()
* * updated cassette
* * updated YAML cassette for test_browse_website
* * after requirements reinstall, another update YAML cassette for test_browse_website
* * another update YAML cassette for test_browse_website, only as a placholder commit to trigger re-testing due to some docker TCP timeout issue
* * another update YAML cassette for test_browse_website
---------
Co-authored-by: batyu <batyu@localhost>
2023-05-04 23:11:21 +01:00
merwanehamadi
b0163230a9
create information retrieval challenge a ( #3770 )
...
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-05-04 17:44:10 +01:00
Nicholas Tindle
d74428057e
Move task_complete command out of prompt ( #3663 )
...
* feat: move task_complete command out of prompt
* fix: formatting fixes
* Add the shutdown command to the test agents
* tests: update test vcrs
---------
Co-authored-by: James Collins <collijk@uw.edu >
2023-05-03 16:40:49 -07:00
Peter Petermann
479c7468b4
Fix docker volume mounts ( #3710 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
2023-05-02 18:08:15 -05:00
merwanehamadi
b0c6ed999c
Feature/tighten up ci pipeline ( #3700 )
2023-05-02 19:07:50 +01:00
Reinier van der Leer
725abbb662
Fix bulletin
2023-05-02 16:30:37 +02:00
kinance
4767fe63d3
Fix the maximum context length issue by chunking ( #3222 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-05-01 20:13:24 +02:00
Bob
94ec4a4ea5
Fix file operations logger ( #3489 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-05-01 17:37:30 +02:00
Richard Beales
c1329c92fd
rename search_files to list_files ( #3595 )
2023-04-30 16:14:53 -05:00
k-boikov
aab79fdf6d
added tests for clone_repository ( #3558 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-04-30 10:41:45 +01:00
merwanehamadi
dd96d98fa1
Feature/test summarization against memory challenge ( #3567 )
...
Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com >
2023-04-30 09:56:57 +01:00
Luke K
064ac5c742
Refactor AIConfig to Sanitize Input for Goal Parameters ( #3492 )
...
* Update remove_color_codes to handle non-string input
The `remove_color_codes` function now accepts any type of input that can be cast to a string. Previously, it was only accepting string input and not casting non-string types to string which was causing errors in some cases.
The changes were made to both logs.py and its corresponding test file.
* Refactor AIConfig to Sanitize Input for Goal Parameters
Details:
- Modified `ai_config.py` to correctly handle and sanitize user input for AI goals and convert them to formatted strings, to fix an issue where some specially formatted ai_settings.yaml files were causing goals to load as list[dict]
- `test_ai_config.py` includes a test for the `sanitize_input` function in `AIConfig` class.
- Removed unnecessary tests from `test_logs.py`
* Update for readabiity
* Update for readabiity
* Updates for conciceness
* Updated tests to confirm AIConfig saves goals as strings
* FIxed trailing space at end of line
---------
Co-authored-by: Luke Kyohere <lkyohere@mfsafrica.com >
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-29 22:37:41 -07:00
merwanehamadi
6997bb0bdd
memory challenge B ( #3550 )
...
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
2023-04-30 01:44:21 +01:00
merwanehamadi
cdd91f7ea3
Feature/challenge memory management ( #3425 )
...
Co-authored-by: JS <38794445+jonathansheets517@users.noreply.github.com >
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-04-29 21:09:58 +01:00
Media
4f72ee7815
Refactor test_spiunner to deprecate unittest in favor of pytest ( #3532 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
2023-04-29 12:40:32 -05:00
Media
095883ca54
Removing duplicate tests browse_tests ( #3535 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
2023-04-29 12:16:16 -05:00
k-boikov
2d058feaf8
Extend & improve file operations tests ( #3404 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-29 16:55:47 +02:00
James Collins
92009ceb32
More graceful browsing error handling ( #3494 )
2023-04-28 22:12:47 +01:00
merwanehamadi
aa3e37ac14
Fix memory by adding it only when context window full ( #3469 )
...
* Fix memory by adding it only when context window full
* clean json utils
2023-04-28 21:07:49 +01:00
James Collins
3b74d2150e
Organize all the llm stuff into a subpackage ( #3436 )
2023-04-28 12:00:54 -07:00
Media
ee4043ae19
Refactor test_chat to use pytest instead of unittest ( #3484 )
...
* refactor_for_pytest
* formatting
---------
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-28 11:27:52 -07:00
k-boikov
c1f1da27e7
move remove_color_codes to utils and add tests ( #3260 )
...
* move remove_color_codes to utils and add tests
* Fix for ai_settings goals loaded as list(dict)
Some ai_settings formats can cause goals to load as list(dict)
not list(str)
Refactor code in utils.py to explicitly convert input type to string in
remove_color_codes() function.
- Updated remove_color_codes function to convert input argument
to string type explicitly to avoid unexpected type errors.
- Test case added to check conversion of dict to string in
remove_color_codes function.
* Update tests/test_utils.py
Co-authored-by: James Collins <collijk@uw.edu >
* move remove_color_codes fn and tests to proper files
---------
Co-authored-by: Luke Kyohere <lkyohere@mfsafrica.com >
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-28 11:13:30 -07:00
Media
aebe891489
Remove unittest in favor of pytest in the test_token_counter module ( #3453 )
...
* init remove unittest for pytest
* docstrings
* black
---------
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-28 09:48:30 -07:00
Media
cf5fdabdfc
Removing unitest in favor of pytest from test_config.py ( #3417 )
...
* removing unitest in favor of pytest
* remove singleton test and unnecessary fixture
---------
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-28 09:32:11 -07:00
rickythefox
20ef130341
Add tests for code/shell execution & improve config fixture ( #1268 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-28 14:51:29 +02:00
Eddie Cohen
5ce6da95fc
Make y/n configurable ( #3178 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-27 21:26:47 +02:00
James Collins
94dc6f19aa
Add a regression test for the embedding ( #3422 )
2023-04-27 11:48:18 -07:00
Reinier van der Leer
3d89ed1787
Fix imports, type hints and fixtures for goal oriented tests ( #3415 )
2023-04-27 19:16:56 +02:00
merwanehamadi
adbb47fb65
scrape text regression test ( #3387 )
...
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-27 09:27:15 -07:00
Montana Flynn
7cd76b8d8e
Add makedirs to file operations ( #3289 )
...
* Add makedirs to file operations
* Add new directory tests for file operations
* Fix wrong setUp test error
* Simplify makedirs and use correct nested path
* Fix linter error
---------
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-27 09:12:24 -07:00