mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: filter out session create request for root doc (#10187)
This commit is contained in:
@@ -590,6 +590,11 @@ export const USER_FRIENDLY_ERRORS = {
|
||||
type: 'action_forbidden',
|
||||
message: `Action has been taken, no more messages allowed.`,
|
||||
},
|
||||
copilot_doc_not_found: {
|
||||
type: 'resource_not_found',
|
||||
args: { docId: 'string' },
|
||||
message: ({ docId }) => `Doc ${docId} not found.`,
|
||||
},
|
||||
copilot_message_not_found: {
|
||||
type: 'resource_not_found',
|
||||
args: { messageId: 'string' },
|
||||
|
||||
Reference in New Issue
Block a user