8000 remove litellm dependency by ohdearquant · Pull Request #545 · khive-ai/lionagi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

remove litellm dependency #545

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

Merged
merged 2 commits into from
Jan 23, 2025
Merged

remove litellm dependency #545

merged 2 commits into from
Jan 23, 2025

Conversation

ohdearquant
Copy link
Collaborator
@ohdearquant ohdearquant commented Jan 23, 2025

PR 2: Remove litellm Dependency

Summary of Changes:

  • Removed all references to litellm within chat_completion.py and related modules.
  • Removed litellm from pyproject.toml dependency list and adjusted uv.lock.
  • Cleaned up any import checks for litellm (check_import("litellm")) and replaced them with either direct code or no-op checks as needed.

Why This PR?

  • litellm is no longer required in our workflow due to internal reorganization of how LLM calls are managed.
  • Streamlines dependencies, reducing potential conflicts or overhead for users who do not require litellm.
  • Simplifies environment setup.

Impact and Testing:

  • Validated no breakage in any module reliant on litellm, as these were either removed or replaced with native logic.
  • Confirmed that references in pyproject.toml and README.md are updated accordingly.

@ohdearquant ohdearquant merged commit 7785af2 into main Jan 23, 2025
5 checks passed
@ohdearquant ohdearquant deleted the updated-imodel2 branch January 23, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0