feat(server): global embedding gql endpoint (#11809)

fix AI-30
fix AI-31
fix PD-2487
This commit is contained in:
darkskygit
2025-04-23 11:25:40 +00:00
parent 5d9a3aac5b
commit 5397fba897
25 changed files with 665 additions and 60 deletions
@@ -711,15 +711,21 @@ export const USER_FRIENDLY_ERRORS = {
},
copilot_transcription_job_exists: {
type: 'bad_request',
message: () => 'Transcription job already exists',
message: 'Transcription job already exists',
},
copilot_transcription_job_not_found: {
type: 'bad_request',
message: () => `Transcription job not found.`,
message: `Transcription job not found.`,
},
copilot_transcription_audio_not_provided: {
type: 'bad_request',
message: () => `Audio not provided.`,
message: `Audio not provided.`,
},
copilot_failed_to_add_workspace_file_embedding: {
type: 'internal_server_error',
args: { message: 'string' },
message: ({ message }) =>
`Failed to add workspace file embedding: ${message}`,
},
// Quota & Limit errors