Refactor AI chat: streaming, tool calls, UI polish
All checks were successful
CI / check (pull_request) Successful in 3m25s

This commit is contained in:
2026-07-24 16:27:50 +08:00
parent e605586fc9
commit 8656394b9b
55 changed files with 2774 additions and 460 deletions

View File

@@ -30,12 +30,21 @@ export class AiToolRun {
@Column({ name: 'tool_name', type: 'varchar', length: 64 })
toolName: string;
@Column({ name: 'skill_key', type: 'varchar', length: 50, nullable: true })
skillKey: string | null;
@Column({ name: 'arguments_summary', type: 'text', nullable: true })
argumentsSummary: string | null;
@Column({ name: 'result_summary', type: 'text', nullable: true })
resultSummary: string | null;
@Column({ name: 'arguments_data', type: 'simple-json', nullable: true })
argumentsData: Record<string, unknown> | null;
@Column({ name: 'result_data', type: 'simple-json', nullable: true })
resultData: Record<string, unknown> | unknown[] | null;
@Column({ type: 'varchar', length: 20 })
status: AiToolRunStatus;