-
Notifications
You must be signed in to change notification settings - Fork 2
add backend: litellm #1
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
base: main
Are you sure you want to change the base?
Conversation
hailangvn
left a comment
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.
LGTM with some minor changes.
| @@ -1,5 +1,6 @@ | |||
| #!/usr/bin/python3 | |||
|
|
|||
| import os | |||
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.
Is there any reason we need to split to new import group?
| import os | |
| import litellm | |
| import os |
| import litellm | ||
|
|
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.
Just a nitpick to keep import in one group.
| import litellm |
| print(content) | ||
|
|
||
|
|
||
| def run_agent(cwd, instructions, backend, mode, model, litellm_base_url, litellm_api_key, litellm_provider): |
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.
| def run_agent(cwd, instructions, backend, mode, model, litellm_base_url, litellm_api_key, litellm_provider): | |
| def run_agent( | |
| cwd, | |
| instructions, | |
| backend, | |
| mode, | |
| model, | |
| litellm_base_url, | |
| litellm_api_key, | |
| litellm_provider | |
| ): |
|
|
||
|
|
||
| def run_workflow(workflow_dir, workflow, backend, mode, model): | ||
| def run_workflow(workflow_dir, workflow, backend, mode, model, litellm_base_url, litellm_api_key, litellm_provider): |
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.
| def run_workflow(workflow_dir, workflow, backend, mode, model, litellm_base_url, litellm_api_key, litellm_provider): | |
| def run_workflow( | |
| workflow_dir, | |
| workflow, | |
| backend, | |
| mode, | |
| model, | |
| litellm_base_url, | |
| litellm_api_key, | |
| litellm_provider | |
| ): |
| dependencies = [ | ||
| "typer>=0.19.2" | ||
| "typer>=0.19.2", | ||
| "litellm>=1.52.0", |
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.
Please help to bump project version in line no. 3 to 0.3.0.
No description provided.