Skip to content

ValueError: PermissionDeniedError is in litellm but not in cecli's exceptions list #441

@hrivera-ntap

Description

@hrivera-ntap

Issue

Started seeing this error appear on my end.

  File "/home/user/.local/share/uv/tools/cecli-dev/lib/python3.12/site-packages/cecli/exceptions.py", line 69, in _load
    raise ValueError(f"{var} is in litellm but not in cecli's exceptions list")
ValueError: PermissionDeniedError is in litellm but not in cecli's exceptions list

when I added ExInfo("PermissionDeniedError", True, None) to cecli/exceptions.py the problem went away and cecli started behaving normally.

Version and model info

cecli: 0.96.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions