mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore(ai): remove debug logging in model fetching
This commit is contained in:
@@ -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}`,
|
||||
|
||||
@@ -201,8 +201,6 @@ export const suggestVariants = async ({
|
||||
return result;
|
||||
}
|
||||
|
||||
console.log(object);
|
||||
|
||||
throw new TRPCError({
|
||||
code: "NOT_FOUND",
|
||||
message: "No suggestions found",
|
||||
|
||||
Reference in New Issue
Block a user