You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 221e401
Browse filesBrowse the repository at this point in the historyBrowse files
// The save refusal of a source whose `adapter` the deployment does not
260
-
// mount is a `400`, where the gates' own are `403`: the door answers the
261
-
// predicate's status and sentence, never one of its own.
262
-
it('a source naming an adapter the deployment does not mount refuses the duplicate 400 VALIDATION_ERROR with the save\'s sentence, and nothing is copied',async()=>{
263
-
constUNMOUNTED={
259
+
// The refusal of a source whose `adapter` the deployment does not mount is
260
+
// a `400`, where the gates' own are `403`: the door answers the service's
261
+
// status and its sentence for this door, worded for the duplicate's caller
262
+
// (the service is asked with `door: 'duplicate'`), never one of its own.
263
+
it('a source naming an adapter the deployment does not mount refuses the duplicate 400 VALIDATION_ERROR with the service\'s duplicate-door sentence, and nothing is copied',async()=>{
message: "The knowledge source \"faq\" was not saved: it names adapter 'ragflow', which this deployment does not mount (mounted: memory).",
266
-
};
266
+
message: door==='duplicate'
267
+
? "The knowledge source \"faq\" cannot be copied: it names adapter 'ragflow', which this deployment does not mount (mounted: memory), and a source's `adapter` must name a mounted store. Mount the 'ragflow' store and duplicate the package again."
268
+
: "The knowledge source \"faq\" was not saved: it names adapter 'ragflow', which this deployment does not mount (mounted: memory), and a source's `adapter` must name a mounted store. Mount the 'ragflow' store and save it again.",
0 commit comments