Skip to content

fix: add missing litellm dependency, remove duplicate crontab#1182

Open
WingedGuardian wants to merge 1 commit intoagent0ai:mainfrom
WingedGuardian:fix/litellm-missing-dep
Open

fix: add missing litellm dependency, remove duplicate crontab#1182
WingedGuardian wants to merge 1 commit intoagent0ai:mainfrom
WingedGuardian:fix/litellm-missing-dep

Conversation

@WingedGuardian
Copy link

Problem

models.py imports litellm on lines 17–18 and uses it extensively throughout the file, but litellm is not declared in requirements.txt. Fresh installs fail with ImportError unless litellm is installed manually or happens to be pulled in as a transitive dependency.

Changes

  • Add litellm>=1.78.7 to requirements.txt
  • Remove duplicate crontab==1.0.1 entry (was listed twice, lines 35 and 41)

Dependency Conflict Note

litellm>=1.78.7 requires openai>=1.99.5, which conflicts with browser-use==0.5.11's exact pin of openai==1.99.2. In testing, openai==1.99.5 works fine with browser-use (3 patch versions apart, no API breaks between them). A separate openai>=1.99.5 pin or updated browser-use version may be warranted — leaving that decision to maintainers.

models.py imports litellm on lines 17-18 and uses it throughout, but
litellm was never declared in requirements.txt. Fresh installs fail
with ImportError unless litellm is installed manually.

Also removes the duplicate crontab==1.0.1 entry (lines 35 and 41).

Note: litellm>=1.78.7 requires openai>=1.99.5, which conflicts with
browser-use==0.5.11's exact pin of openai==1.99.2. In testing,
openai==1.99.5 works fine with browser-use (3 patch versions, no API
breaks). A separate openai pin or constraint may be warranted.
@frdel
Copy link
Collaborator

frdel commented Mar 2, 2026

Litellm is temporarily in requirements2.txt due to version conflicts with browser-use.

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.

2 participants