Skip to content

Commit f48bb1e

Browse files
committed
refactor: formatter
1 parent 21abf43 commit f48bb1e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

apps/web/app/api/chat/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function POST(req: Request) {
2121
{
2222
status: 500,
2323
headers: { "Content-Type": "application/json" },
24-
}
24+
},
2525
);
2626
}
2727
}

apps/web/components/chat-messages.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ const ChatMessages = ({ messages }: ChatMessagesProps) => {
3636
key={message.id}
3737
className={cn(
3838
"flex",
39-
message.role === "user" ? "justify-end" : "justify-start"
39+
message.role === "user" ? "justify-end" : "justify-start",
4040
)}
4141
>
4242
<div
4343
className={cn(
4444
"rounded-lg px-4 py-2 max-w-[80%]",
4545
message.role === "user"
4646
? "bg-primary text-primary-foreground"
47-
: "bg-secondary text-foreground system-message-styles"
47+
: "bg-secondary text-foreground system-message-styles",
4848
)}
4949
>
5050
<Markdown components={markdownComponents}>

packages/pinecone/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const envSchema = z.object({
1313
.int()
1414
.default(1536)
1515
.describe(
16-
"Vector database dimensions need to match embedding model dimensions"
16+
"Vector database dimensions need to match embedding model dimensions",
1717
),
1818
PINECONE_INDEX_METRIC: z
1919
.enum(["cosine", "dotproduct", "euclidean"] as const)

packages/ui/src/components/ui/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const buttonVariants = cva(
3232
variant: "default",
3333
size: "default",
3434
},
35-
}
35+
},
3636
);
3737

3838
function Button({

packages/ui/src/components/ui/textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {
88
data-slot="textarea"
99
className={cn(
1010
"border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
11-
className
11+
className,
1212
)}
1313
{...props}
1414
/>

0 commit comments

Comments
 (0)