A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Update serialisers.py
shamoond3ac75741f55
diff --git a/src/paperless/serialisers.py b/src/paperless/serialisers.pyindex 495ae018a..4939bc1ba 100644--- a/src/paperless/serialisers.py+++ b/src/paperless/serialisers.py@@ -248,7 +248,9 @@ class ApplicationConfigurationSerializer(serializers.ModelSerializer):allow_internal=settings.LLM_ALLOW_INTERNAL_ENDPOINTS,)except ValueError as e:- raise serializers.ValidationError(str(e)) from e+ raise serializers.ValidationError(+ f"Invalid LLM endpoint: {e.args[0]}, see logs for details",+ ) from ereturn value