feat(server): stop embedding in doc embedding disabled workspace (#11761)
fix AI-33
This commit is contained in:
@@ -8137,6 +8137,10 @@ export function useAFFiNEI18N(): {
|
||||
contextId: string;
|
||||
message: string;
|
||||
}>): string;
|
||||
/**
|
||||
* `Embedding feature is disabled, please contact the administrator to enable it in the workspace settings.`
|
||||
*/
|
||||
["error.COPILOT_EMBEDDING_DISABLED"](): string;
|
||||
/**
|
||||
* `Embedding feature not available, you may need to install pgvector extension to your database`
|
||||
*/
|
||||
|
||||
@@ -2012,6 +2012,7 @@
|
||||
"error.COPILOT_CONTEXT_FILE_NOT_SUPPORTED": "File {{fileName}} is not supported to use as context: {{message}}",
|
||||
"error.COPILOT_FAILED_TO_MODIFY_CONTEXT": "Failed to modify context {{contextId}}: {{message}}",
|
||||
"error.COPILOT_FAILED_TO_MATCH_CONTEXT": "Failed to match context {{contextId}} with \"%7B%7Bcontent%7D%7D\": {{message}}",
|
||||
"error.COPILOT_EMBEDDING_DISABLED": "Embedding feature is disabled, please contact the administrator to enable it in the workspace settings.",
|
||||
"error.COPILOT_EMBEDDING_UNAVAILABLE": "Embedding feature not available, you may need to install pgvector extension to your database",
|
||||
"error.COPILOT_TRANSCRIPTION_JOB_EXISTS": "Transcription job already exists",
|
||||
"error.COPILOT_TRANSCRIPTION_JOB_NOT_FOUND": "Transcription job not found.",
|
||||
|
||||
Reference in New Issue
Block a user