diff --git a/sample.config.toml b/sample.config.toml deleted file mode 100644 index 50ba95d..0000000 --- a/sample.config.toml +++ /dev/null @@ -1,14 +0,0 @@ -[GENERAL] -PORT = 3001 # Port to run the server on -SIMILARITY_MEASURE = "cosine" # "cosine" or "dot" -KEEP_ALIVE = "5m" # How long to keep Ollama models loaded into memory. (Instead of using -1 use "-1m") - -[API_KEYS] -OPENAI = "" # OpenAI API key - sk-1234567890abcdef1234567890abcdef -GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef -ANTHROPIC = "" # Anthropic API key - sk-ant-1234567890abcdef1234567890abcdef -GEMINI = "" # Gemini API key - sk-1234567890abcdef1234567890abcdef - -[API_ENDPOINTS] -SEARXNG = "http://localhost:32768" # SearxNG API URL -OLLAMA = "" # Ollama API URL - http://host.docker.internal:11434 \ No newline at end of file diff --git a/ui/.env.example b/ui/.env.example deleted file mode 100644 index 57a3ed9..0000000 --- a/ui/.env.example +++ /dev/null @@ -1,2 +0,0 @@ -NEXT_PUBLIC_WS_URL=ws://localhost:3001 -NEXT_PUBLIC_API_URL=http://localhost:3001/api \ No newline at end of file diff --git a/ui/app/page.tsx b/ui/app/page.tsx index e18aca9..0570994 100644 --- a/ui/app/page.tsx +++ b/ui/app/page.tsx @@ -3,8 +3,8 @@ import { Metadata } from 'next'; import { Suspense } from 'react'; export const metadata: Metadata = { - title: 'Chat - Perplexica', - description: 'Chat with the internet, chat with Perplexica.', + title: 'Chat - Smartly', + description: 'Chat with the internet, chat with Smartly.', }; const Home = () => { diff --git a/ui/components/Layout.tsx b/ui/components/Layout.tsx index 00f0fff..41e6d82 100644 --- a/ui/components/Layout.tsx +++ b/ui/components/Layout.tsx @@ -1,6 +1,6 @@ const Layout = ({ children }: { children: React.ReactNode }) => { return ( -
+
{children}
); diff --git a/ui/components/MessageInput.tsx b/ui/components/MessageInput.tsx index b6b1d96..57a2723 100644 --- a/ui/components/MessageInput.tsx +++ b/ui/components/MessageInput.tsx @@ -75,7 +75,7 @@ const MessageInput = ({ } }} className={cn( - 'bg-light-secondary dark:bg-dark-secondary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200', + 'bg-white dark:bg-dark-secondary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200', mode === 'multi' ? 'flex-col rounded-lg' : 'flex-row rounded-full', )} > diff --git a/ui/components/Navbar.tsx b/ui/components/Navbar.tsx index 13f2da3..dda2125 100644 --- a/ui/components/Navbar.tsx +++ b/ui/components/Navbar.tsx @@ -45,7 +45,7 @@ const Navbar = ({ }, []); return ( -
+
{ @@ -38,7 +38,7 @@ export const Select = ({ className, options, ...restProps }: SelectProps) => {