-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/talk2scholar hydra migration #96
Feat/talk2scholar hydra migration #96
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The migration to Hydra for handling configs looks very good 👍. Now that we are using hydra for confis, I would recommend adding additional information to the logging messages. In particular, ensuring that the log message captures more meaningful information that can be used to better understand what configs/arguments the function was called.
|
||
def make_supervisor_node(llm: BaseChatModel) -> str: | ||
def make_supervisor_node(llm: BaseChatModel, cfg) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the docstrings and a type hint for cfg
?
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/main_agent/default.yaml
Outdated
Show resolved
Hide resolved
aiagents4pharma/talk2scholars/configs/app/frontend/default.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the reviews!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work 💪
🎉 This PR is included in version 1.17.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
For authors
Description
Migration from config.py to Hydra Configuration System with Enhanced Test Coverage
Summary of Changes:
Context and Motivation:
Implementation Details
Test coverage includes:
Unit Tests:
Integration Tests:
Changed Files
Fixes # (issue) Mention the issue number.
Issue #61
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests you conducted to verify your changes. These may involve creating new test scripts or updating existing ones.
tests
foldertests/testX.py
)Checklist
tests
folder) that prove my fix is effective or that my feature worksFor reviewers
Checklist pre-approval
Checklist post-approval
develop
intomain
? If so, please make sure to add a prefix (feat/fix/chore) and/or a suffix BREAKING CHANGE (if it's a major release) to your commit message.Checklist post-merge
develop
intomain
and is it suppose to run an automated release workflow (if applicable)? If so, please make sure to check under the "Actions" tab to see if the workflow has been initiated, and return later to verify that it has completed successfully.