ai agent
lifectl ai agent rm
ลบ container ที่หยุดแล้วและ data directory ของมัน รับ container ID, alias หรือชื่อ agent หากมีหลาย container ที่หยุดอยู่ตรงกับชื่อ จะแสดง error ให้ใช้ container ID แทน container ต้องหยุดก่อน คล้ายกับ docker rm
รูปแบบคำสั่ง
lifectl ai agent rm <containerId|alias|name>
อาร์กิวเมนต์
| อาร์กิวเมนต์ | Type | จำเป็น | คำอธิบาย |
|---|---|---|---|
| <containerId | alias | name> | string | จำเป็น | container ID 12 ตัวอักษร hex, alias ของ container หรือชื่อ agent |
ตัวอย่าง
ลบด้วย container ID
lifectl ai agent rm a1b2c3d4e5f6
ลบด้วย alias
lifectl ai agent rm my-bot
ลบด้วยชื่อ agent
lifectl ai agent rm my-agent