Merge pull request #975 from pohgxz/main

接口 _get_model_show 的 model 设置为可选属性
This commit is contained in:
手瓜一十雪 2025-04-26 18:31:10 +08:00 committed by GitHub
commit 06dde072da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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