diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index fb1b1950b..90f0bcc69 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -13,7 +13,6 @@
"macOSPrivateApi": true,
"windows": [
{
- "zoomHotkeysEnabled": true,
"label": "main",
"title": "Jan",
"width": 1024,
@@ -40,7 +39,12 @@
}
],
"security": {
- "capabilities": ["default", "logs-app-window", "logs-window", "system-monitor-window"],
+ "capabilities": [
+ "default",
+ "logs-app-window",
+ "logs-window",
+ "system-monitor-window"
+ ],
"csp": {
"default-src": "'self' customprotocol: asset: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*",
"connect-src": "ipc: http://ipc.localhost http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* https: http:",
@@ -76,6 +80,7 @@
}
},
"bundle": {
+ "licenseFile": "../LICENSE",
"publisher": "Menlo Research Pte. Ltd.",
"active": true,
"createUpdaterArtifacts": false,
diff --git a/web-app/src/routes/project/$projectId.tsx b/web-app/src/routes/project/$projectId.tsx
index 042038e12..a87a87e09 100644
--- a/web-app/src/routes/project/$projectId.tsx
+++ b/web-app/src/routes/project/$projectId.tsx
@@ -3,12 +3,10 @@ import { useMemo } from 'react'
import { useThreadManagement } from '@/hooks/useThreadManagement'
import { useThreads } from '@/hooks/useThreads'
-import { useModelProvider } from '@/hooks/useModelProvider'
import { useTranslation } from '@/i18n/react-i18next-compat'
import ChatInput from '@/containers/ChatInput'
import HeaderPage from '@/containers/HeaderPage'
-import SetupScreen from '@/containers/SetupScreen'
import ThreadList from '@/containers/ThreadList'
import DropdownAssistant from '@/containers/DropdownAssistant'
@@ -26,7 +24,6 @@ export const Route = createFileRoute('/project/$projectId')({
function ProjectPage() {
const { t } = useTranslation()
const { projectId } = useParams({ from: '/project/$projectId' })
- const { providers } = useModelProvider()
const { getFolderById } = useThreadManagement()
const threads = useThreads((state) => state.threads)
@@ -43,18 +40,6 @@ function ProjectPage() {
.sort((a, b) => (b.updated || 0) - (a.updated || 0))
}, [threads, projectId])
- // Conditional to check if there are any valid providers
- const hasValidProviders = providers.some(
- (provider) =>
- provider.api_key?.length ||
- (provider.provider === 'llamacpp' && provider.models.length) ||
- (provider.provider === 'jan' && provider.models.length)
- )
-
- if (!hasValidProviders) {
- return
{t('projects.conversationsDescription')} @@ -105,7 +92,11 @@ function ProjectPage() { {/* Thread List or Empty State */}
- {t('projects.startNewConversation', { projectName: project.name })} + {t('projects.startNewConversation', { + projectName: project.name, + })}