mirror of
https://github.com/open-webui/open-webui
synced 2025-06-10 00:17:52 +00:00
This resolved an ImportError (cannot import name 'User' from 'open_webui.models.auths') by changing the import for UserModel in `backend/open_webui/routers/agents.py` to correctly point to `open_webui.models.users`. The original error prevented the agents router from loading. This change ensures the router can find the correct User model definition. Note: I also found a missing 'typer' dependency, which I will address next. |
||
---|---|---|
.. | ||
data | ||
internal | ||
migrations | ||
models | ||
retrieval | ||
routers | ||
socket | ||
static | ||
storage | ||
test | ||
utils | ||
__init__.py | ||
alembic.ini | ||
config.py | ||
constants.py | ||
env.py | ||
functions.py | ||
main.py | ||
tasks.py |