feat(packages/api): support training without label

This commit is contained in:
PalmDevs
2025-07-12 00:53:59 +07:00
parent 670cc70057
commit 2b1928e116

View File

@@ -101,7 +101,7 @@ export default class Client {
return packet
}
async trainMessage(text: string, label: string) {
async trainMessage(text: string, label?: string) {
this.#throwIfNotReady()
this.ws.send({