mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
feat(packages/api): support training without label
This commit is contained in:
@@ -101,7 +101,7 @@ export default class Client {
|
|||||||
return packet
|
return packet
|
||||||
}
|
}
|
||||||
|
|
||||||
async trainMessage(text: string, label: string) {
|
async trainMessage(text: string, label?: string) {
|
||||||
this.#throwIfNotReady()
|
this.#throwIfNotReady()
|
||||||
|
|
||||||
this.ws.send({
|
this.ws.send({
|
||||||
|
|||||||
Reference in New Issue
Block a user