modify: aibox_sophon_adapter

This commit is contained in:
2026-07-27 14:26:48 +08:00
parent 98ee0e29af
commit f95857f1f0
10 changed files with 97 additions and 3 deletions
+7
View File
@@ -24,3 +24,10 @@ auth_required = true
result = { type = "float", required = true }
operation = { type = "str", default = "add" }
timestamp = { type = "float", required = false, default = 0.0 }
# --- MQTT 端点(不注册 HTTP 路由,仅通过 MQTT chongming/example/add 调用)---
[MQTT]
summary = "Add two numbers via MQTT"
docstring = "通过 MQTT 主题 chongming/example/add 调用,载荷为 JSON"
params = ["a: float", "b: float"]
auth_required = false