-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update templates and include global variables (#3755)
* update templates * update to include global variables * Refactor code to include global variables * update PythonREPLTool.py * [autofix.ci] apply automated fixes * update pythonREPL and example * Refactor code to handle decoding chat messages and handle decoding errors * ✨ (Simple Agent.spec.ts): Add test case to fill textarea with specific text for testing purposes 📝 (Simple Agent.spec.ts): Update test case descriptions for better clarity and accuracy ✅ (Simple Agent.spec.ts): Update test assertions to match the expected behavior of the test case * [autofix.ci] apply automated fixes * 🐛 (Dynamic Agent.spec.ts): fix environment variable name from BRAVE_SEARCH_API_KEY to SEARCH_API_KEY for consistency and clarity 💡 (Dynamic Agent.spec.ts): add additional test cases to improve test coverage and ensure specific text is not present in the chat output * 🔧 (.github/workflows/typescript_test.yml): update environment variable name from BRAVE_SEARCH_API_KEY to SEARCH_API_KEY for consistency 🐛 (Travel Planning Agent.spec.ts): fix test to skip if SEARCH_API_KEY is not available in the environment variables * ✅ (Simple Agent.spec.ts): update expected count of python words to 3 for accurate test validation * updating search tools * [autofix.ci] apply automated fixes * change examples * update travel planning to include global variable * Refactor search API component to include result limiting * 📝 (Travel Planning Agent.spec.ts): remove unnecessary empty line to improve code readability and consistency * test: adjusts asserts to make the test pass successfully --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: cristhianzl <cristhian.lousa@gmail.com> Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
- Loading branch information
1 parent
9b5c16a
commit 810cf72
Showing
15 changed files
with
950 additions
and
820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.