Merge pull request 'fix(qa): resolve QA-pass issues #122–#134' (#135) from fix/qa-issues-122-134 into develop
Reviewed-on: #135
This commit was merged in pull request #135.
This commit is contained in:
@@ -86,7 +86,9 @@ export class AiSettingsController {
|
||||
) {
|
||||
this.assertAdmin(user, workspace);
|
||||
await this.aiSettingsService.reindex(workspace.id);
|
||||
// Return refreshed masked settings so the client can update the counter.
|
||||
// Indexing runs as an async background job, so these masked settings carry
|
||||
// the PRE-job counts (the indexed total has not climbed yet). The client
|
||||
// polls this endpoint's GET counterpart to watch the counter advance.
|
||||
return this.aiSettingsService.getMasked(workspace.id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@ import { ServiceUnavailableException } from '@nestjs/common';
|
||||
*/
|
||||
export class AiSttNotConfiguredException extends ServiceUnavailableException {
|
||||
constructor() {
|
||||
super('AI STT model not configured');
|
||||
// User-facing copy: the client surfaces this 503 message verbatim in the
|
||||
// dictation toast, so keep it consistent with the client's fallback copy.
|
||||
super('Voice dictation is not configured');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user