We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9681bee commit c90c2fcCopy full SHA for c90c2fc
1 file changed
apps/sim/app/api/mothership/chats/[chatId]/fork/route.ts
@@ -25,11 +25,6 @@ import { assertActiveWorkspaceAccess } from '@/lib/workspaces/permissions/utils'
25
26
const logger = createLogger('ForkChatAPI')
27
28
-/**
29
- * POST /api/mothership/chats/[chatId]/fork
30
- * Creates a new chat branched from the given chat, keeping messages up to and
31
- * including the specified message. Resources and copilot-side state are copied.
32
- */
33
export const POST = withRouteHandler(
34
async (request: NextRequest, context: { params: Promise<{ chatId: string }> }) => {
35
const { userId, isAuthenticated } = await authenticateCopilotRequestSessionOnly()
0 commit comments