fix: initialization logic across multiple agent classes and renames various kernel tool methods #146
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
get_all_kernel_functionsmethod to return a dictionary instead of a list, enhancing its usability.Initialization Logic Updates:
__init__method in multiple agent classes (generic_agent.py,hr_agent.py,human_agent.py,marketing_agent.py,procurement_agent.py,product_agent.py,tech_support_agent.py) to check for tools usingif not toolsinstead ofif tools is None. This ensures compatibility with more cases wheretoolsmight be empty. [1] [2] [3] [4] [5] [6] [7]Kernel Tool Method Renaming:
organize_health_and_wellness_program→organize_wellness_programinhr_tools.py.generate_social_media_posts→generate_social_postsinmarketing_tools.py.handle_procurement_risk_assessment→assess_procurement_riskinprocurement_tools.py.develop_product_training_material→create_training_materialinproduct_tools.py.assist_procurement_with_tech_equipment→support_procurement_techintech_support_tools.py.Enhancements to
get_all_kernel_functions:get_all_kernel_functionsmethod inmarketing_tools.pyto return a dictionary (dict[str, Callable]) instead of a list. This change improves the accessibility of kernel functions by providing named keys. [1] [2]Deprecated or Removed Methods:
optimize_seo_strategymethod frommarketing_tools.py. This function is no longer included in the kernel tools.Additional Method Updates:
manage_customer_retention_program→manage_retention_programinmarketing_tools.py.run_influencer_marketing_campaign→run_influencer_campaigninmarketing_tools.py.provide_tech_support_for_marketing→assist_marketing_techintech_support_tools.py.Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information