find_err_detail relied on ReturnDict.serializer, so plain string and list errors lost their message and nested ones could raise. Walk dicts and lists directly instead, and keep the internal non_field_errors key out of user-facing text. The axios interceptor toasted every failure before the page could handle it, so saving over the mindmap limit showed two messages and the workbench fell back to a generic one. Add an opt-in silentError flag and let the workbench render the server message itself. |
||
|---|---|---|
| .. | ||
| application | ||
| chat | ||
| common | ||
| folders | ||
| knowledge | ||
| local_model | ||
| locales | ||
| maxkb | ||
| models_provider | ||
| ops | ||
| oss | ||
| system_manage | ||
| tools | ||
| users | ||
| __init__.py | ||
| manage.py | ||