-
Notifications
You must be signed in to change notification settings - Fork 374
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
Add LiteLLMAICaller class for AI model interactions, integrate settin… #20
Conversation
…gs with config loader, and update dependencies
PR Review 🔍
|
CI Failure Feedback 🧐
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
PR Code Suggestions ✨
|
Some things that need to be accounted for before closing this MR:
|
User description
…gs with config loader, and update dependencies
addressing this
#15
PR Type
Enhancement, Configuration changes, Dependencies
Description
LiteLLMAICaller
class for AI model interactions, integrating various API keys and settings.UnitTestGenerator
to useLiteLLMAICaller
.main.py
and updated model selection logic.Dynaconf
configuration loader andget_settings
function.litellm
anddynaconf
.config.toml
.Changes walkthrough 📝
LiteLLMAICaller.py
Introduce `LiteLLMAICaller` class for AI model interactions.
cover_agent/LiteLLMAICaller.py
LiteLLMAICaller
class for AI model interactions.config_loader
.call_model
andcount_tokens
.UnitTestGenerator.py
Update import to use `LiteLLMAICaller` in `UnitTestGenerator`.
cover_agent/UnitTestGenerator.py
AICaller
withLiteLLMAICaller
.main.py
Integrate settings retrieval and update model selection logic.
cover_agent/main.py
config_loader
.main
function.config_loader.py
Add `Dynaconf` configuration loader and `get_settings` function.
settings/config_loader.py
Dynaconf
configuration loader.get_settings
function to retrieve global settings.config.toml
Add configuration template for AI models and API keys.
settings/config.toml
pyproject.toml
Update dependencies to include `litellm` and `dynaconf`.
pyproject.toml
litellm
anddynaconf
to dependencies.