chore(ai): remove debug logging in model fetching

This commit is contained in:
Mauricio Siu
2025-03-07 00:56:12 -06:00
parent b8e5cae88f
commit 96e3721b4b
2 changed files with 0 additions and 3 deletions

View File

@@ -91,7 +91,6 @@ export const aiRouter = createTRPCRouter({
owned_by: "provider",
})) as Model[];
} catch (error) {
console.log("Error fetching models:", error);
throw new TRPCError({
code: "BAD_REQUEST",
message: error instanceof Error ? error?.message : `Error: ${error}`,

View File

@@ -201,8 +201,6 @@ export const suggestVariants = async ({
return result;
}
console.log(object);
throw new TRPCError({
code: "NOT_FOUND",
message: "No suggestions found",