fix: agent route to add json parser

This commit is contained in:
charles-gauthereau
2026-05-28 08:16:34 +02:00
parent c1b71e7772
commit 7a97721abf
3 changed files with 7 additions and 26 deletions
-5
View File
@@ -1,10 +1,5 @@
import {NextResponse} from "next/server";
import {withApiKey} from "@/lib/api-v1/middleware";
import {db} from "@/db";
import * as drizzleDb from "@/db";
import {eq, and, or, isNull} from "drizzle-orm";
import {withUpdatedAt} from "@/db/utils";
import {v4 as uuidv4} from "uuid";
import {logger} from "@/lib/logger";
import {ApiKeyContext} from "@/lib/api-v1/types";
import {getAgent, resolveAgentAccess} from "@/lib/api-v1/services/agents";