-
Notifications
You must be signed in to change notification settings - Fork 365
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
Moving to LiteLLM with env var approach. Closes #15. #24
Conversation
/describe |
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
/improve |
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. 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 |
c34b615
to
c90459a
Compare
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. 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-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. 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 |
5db4705
to
c90459a
Compare
CI Failure Feedback 🧐(Checks updated until commit 658aef5)
✨ 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 Type
Enhancement, Documentation, Tests
Description
AICaller
.OPENAI_API_KEY
environment variable.UnitTestGenerator
to log total token usage.--openai-model
to--model
.litellm
andboto3
as dependencies inpyproject.toml
.Changes walkthrough 📝
AICaller.py
Migrate from OpenAI to LiteLLM in AICaller
cover_agent/AICaller.py
call_model
method.UnitTestGenerator.py
Update UnitTestGenerator for LiteLLM integration
cover_agent/UnitTestGenerator.py
generate_tests
method to log total token usage.main.py
Rename CLI argument for model selection
cover_agent/main.py
--openai-model
argument to--model
.test_AICaller.py
Update tests for LiteLLM integration in AICaller
tests/test_AICaller.py
README.md
Update README for LiteLLM usage and model selection
README.md
pyproject.toml
Add LiteLLM and boto3 dependencies
pyproject.toml
litellm
andboto3
as dependencies.