Move to threads based system.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { proxyWorker, withOwnedJob } from '@/lib/agent-worker-proxy';
|
||||
|
||||
export const POST = async (
|
||||
_request: Request,
|
||||
context: { params: Promise<{ jobId: string }> },
|
||||
) =>
|
||||
await withOwnedJob(
|
||||
context,
|
||||
async (jobId) => await proxyWorker(jobId, 'open-pr', { method: 'POST' }),
|
||||
);
|
||||
Reference in New Issue
Block a user