fix: đã sửa lỗi các tools của AI

This commit is contained in:
2026-07-22 09:27:12 +07:00
parent 022fbb3351
commit 4791bb22d9
4 changed files with 54 additions and 2 deletions
+3 -2
View File
@@ -168,11 +168,12 @@ const AIGateway = (function() {
}
}, {
name: 'scan_track',
description: 'Quét và phân tích track âm thanh: phát hiện BPM (tempo), sample rate, số kênh (mono/stereo), bit depth, duration',
description: 'Quét và phân tích track âm thanh: phát hiện BPM (tempo) và tự động cập nhật tempo hệ thống, sample rate, số kênh (mono/stereo), duration',
parameters: {
type: 'object',
properties: {
track_id: { type: 'string', description: 'ID của track cần quét. Nếu không có thì quét track đang chọn.' }
track_id: { type: 'string', description: 'ID của track cần quét' },
set_tempo: { type: 'boolean', description: 'Tự động cập nhật tempo hệ thống (mặc định: true)' }
}
}
}, {