fix: correct extension name format and update initialization method in usage stats

This commit is contained in:
Will Miao
2025-06-26 16:57:26 +08:00
parent c157e794f0
commit ae905c8630

View File

@@ -4,9 +4,9 @@ import { api } from "../../scripts/api.js";
// Register the extension
app.registerExtension({
name: "Lora-Manager.UsageStats",
name: "LoraManager.UsageStats",
init() {
setup() {
// Listen for successful executions
api.addEventListener("execution_success", ({ detail }) => {
if (detail && detail.prompt_id) {