ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: retention и стабильная загрузка аудио Voice Tasker

This commit is contained in:
DCCONSTRUCTIONS
2026-04-28 17:54:11 +03:00
parent d60c28ec04
commit b796a21852
10 changed files with 248 additions and 12 deletions
+6
View File
@@ -47,6 +47,7 @@ export type TWorkspaceAISettings = {
workspace_daily_limit: number;
project_daily_limit: number;
workspace_concurrency_limit: number;
sensitive_data_retention_days: number;
credential: TWorkspaceAICredentialStatus;
created_at: string;
updated_at: string;
@@ -69,6 +70,7 @@ export type TWorkspaceAISettingsPayload = Partial<
| "workspace_daily_limit"
| "project_daily_limit"
| "workspace_concurrency_limit"
| "sensitive_data_retention_days"
>
> & {
openai_api_key?: string;
@@ -257,6 +259,7 @@ export type TVoiceTaskMonitorSession = {
parser_prompt_tokens: number | null;
parser_completion_tokens: number | null;
parser_total_tokens: number | null;
sensitive_data_redacted_at: string | null;
};
error: {
code: string;
@@ -270,6 +273,8 @@ export type TVoiceTaskMonitor = {
window_seconds: number;
stale_after_seconds: number;
cleaned_count?: number;
cleaned_stale_count?: number;
redacted_count?: number;
concurrency: {
scope: "workspace";
limit: number;
@@ -289,6 +294,7 @@ export type TVoiceTaskMonitor = {
total_audio_seconds: number;
total_audio_size: number;
parser_total_tokens: number;
redacted: number;
status_counts: Record<string, number>;
error_counts: {
error_code: string;