We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d6b9c commit 18332b9Copy full SHA for 18332b9
apps/sim/app/api/copilot/chat/route.ts
@@ -4,11 +4,11 @@ import { z } from 'zod'
4
import { getSession } from '@/lib/auth'
5
import { getCopilotModel } from '@/lib/copilot/config'
6
import { TITLE_GENERATION_SYSTEM_PROMPT, TITLE_GENERATION_USER_PROMPT } from '@/lib/copilot/prompts'
7
+import { env } from '@/lib/env'
8
import { createLogger } from '@/lib/logs/console/logger'
9
import { db } from '@/db'
10
import { copilotChats } from '@/db/schema'
11
import { executeProviderRequest } from '@/providers'
-import { env } from '@/lib/env'
12
13
const logger = createLogger('CopilotChatAPI')
14
0 commit comments