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

This commit is contained in:
Nepenthe 2025-04-26 14:48:35 +08:00
parent c099e3c257
commit e144d3a218

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>;