mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-20 19:36:08 +00:00
chore: prettier
This commit is contained in:
@@ -77,7 +77,10 @@ export const columns = (
|
|||||||
<MoreHorizontal className="h-4 w-4" />
|
<MoreHorizontal className="h-4 w-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent align="end" className="bg-white dark:bg-[#2a2a2e]">
|
<DropdownMenuContent
|
||||||
|
align="end"
|
||||||
|
className="bg-white dark:bg-[#2a2a2e]"
|
||||||
|
>
|
||||||
<DropdownMenuLabel>
|
<DropdownMenuLabel>
|
||||||
{t('knowledge.documentsTab.actions')}
|
{t('knowledge.documentsTab.actions')}
|
||||||
</DropdownMenuLabel>
|
</DropdownMenuLabel>
|
||||||
|
|||||||
@@ -206,7 +206,9 @@ export default function LLMConfigPage() {
|
|||||||
</div>
|
</div>
|
||||||
<TabsContent value="llm">
|
<TabsContent value="llm">
|
||||||
<div className="flex flex-row justify-between items-center px-[0.4rem] h-full">
|
<div className="flex flex-row justify-between items-center px-[0.4rem] h-full">
|
||||||
<p className="text-sm text-gray-500 dark:text-gray-400">{t('llm.description')}</p>
|
<p className="text-sm text-gray-500 dark:text-gray-400">
|
||||||
|
{t('llm.description')}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
<TabsContent value="embedding">
|
<TabsContent value="embedding">
|
||||||
|
|||||||
@@ -332,7 +332,9 @@ export default function DebugDialog({
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
'flex items-center gap-2 px-4 py-1.5 rounded cursor-pointer',
|
'flex items-center gap-2 px-4 py-1.5 rounded cursor-pointer',
|
||||||
isHovering ? 'bg-gray-100 dark:bg-gray-700' : 'bg-white dark:bg-gray-800',
|
isHovering
|
||||||
|
? 'bg-gray-100 dark:bg-gray-700'
|
||||||
|
: 'bg-white dark:bg-gray-800',
|
||||||
)}
|
)}
|
||||||
onClick={handleAtSelect}
|
onClick={handleAtSelect}
|
||||||
onMouseEnter={() => setIsHovering(true)}
|
onMouseEnter={() => setIsHovering(true)}
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ export default function PipelineFormComponent({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="!max-w-[70vw] max-w-6xl h-full p-0 flex flex-col bg-white dark:bg-black">
|
<div className="!max-w-[70vw] max-w-6xl h-full p-0 flex flex-col bg-white dark:bg-black">
|
||||||
<Form {...form}>
|
<Form {...form}>
|
||||||
<form
|
<form
|
||||||
id="pipeline-form"
|
id="pipeline-form"
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ export default function RootLayout({
|
|||||||
<html lang="zh" suppressHydrationWarning>
|
<html lang="zh" suppressHydrationWarning>
|
||||||
<body className={``}>
|
<body className={``}>
|
||||||
<ThemeProvider>
|
<ThemeProvider>
|
||||||
<I18nProvider>
|
<I18nProvider>
|
||||||
{children}
|
{children}
|
||||||
<Toaster />
|
<Toaster />
|
||||||
</I18nProvider>
|
</I18nProvider>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user