-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
bugReproducible defect or broken behaviorReproducible defect or broken behavior
Description
Summary
A base ouroboros-ai install can succeed, but ouroboros pm crashes immediately because it imports litellm unconditionally even though litellm is not installed.
Repro
- Install the base package only:
uv tool install --python /opt/homebrew/bin/python3.12 ouroboros-ai- Run:
ouroboros pmActual
The command crashes with:
ModuleNotFoundError: No module named 'litellm'
Traceback points to:
ouroboros/cli/commands/pm.pyouroboros/providers/litellm_adapter.py
The failing import path is effectively:
pm.pyimportsLiteLLMAdapterlitellm_adapter.pyimportslitellm
Expected
One of these should be true:
litellmis included in the base dependencies ifpmrequires it.pmshould gracefully fail with an actionable install hint.pmshould only import the adapter in code paths where the dependency is available.
Local workaround
I fixed my local tool install with:
uv tool install --python /opt/homebrew/bin/python3.12 --force --with litellm ouroboros-aiAfter adding litellm, ouroboros pm starts normally.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugReproducible defect or broken behaviorReproducible defect or broken behavior