接口 _get_model_show 的 model 设置为可选属性

This commit is contained in:
Nepenthe
2025-04-26 14:48:35 +08:00
parent 2c7345ae88
commit 8e92a81bb9

View File

@@ -3,7 +3,7 @@ import { ActionName } from '@/onebot/action/router';
import { Static, Type } from '@sinclair/typebox';
const SchemaData = Type.Object({
model: Type.String(),
model: Type.Optional(Type.String()),
});
type Payload = Static<typeof SchemaData>;