mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix: create model prompt
This commit is contained in:
@@ -148,6 +148,7 @@ export const modelModule = new Elysia({
|
||||
.use(adminMiddleware)
|
||||
// Create new model
|
||||
.post('/', async ({ body }) => {
|
||||
console.log('body', body)
|
||||
try {
|
||||
const newModel = await createModel(body as Model)
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user