feat: productionize learning engine and classroom
This commit is contained in:
1 parent
2d04197f3f
commit
ba35adfbfa
124 files changed
+9071
-796
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import type { NextRequest } from 'next/server';
|
||||
import { authorizeLearningRuntime, runtimeUnauthorized } from '@/lib/makelore-runtime/auth';
|
||||
|
||||
export async function POST(request: NextRequest) {
|
||||
if (!authorizeLearningRuntime(request)) return runtimeUnauthorized();
|
||||
return Response.json({ status: 'not_supported', message: 'The current turn finishes independently.' });
|
||||
}
|
||||
Reference in new issue
Block a user