Skip to content

Commit f1b92c4

Browse files
refactor: rename prompts.ts to prompt.ts and update imports
1 parent c3f7530 commit f1b92c4

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/lib/khoj.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { KHOJ_AGENT, KHOJ_API_URL } from '$env/static/private'
2-
import { PERMANENT_CONTEXT, buildKhojPrompt } from '$lib/prompts'
2+
import { PERMANENT_CONTEXT, buildKhojPrompt } from '$lib/prompt'
33
import type { Message, ToneType } from '$lib/types'
44
import { extractReplies, formatAsUserAndAssistant, parseSummaryToHumanReadable } from '$lib/utils'
55
import { fetchRelevantHistory } from './history'

src/lib/openAi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from '$env/static/private'
99
import { fetchRelevantHistory } from './history'
1010
import { logger } from './logger'
11-
import { PERMANENT_CONTEXT, buildReplyPrompt } from './prompts'
11+
import { PERMANENT_CONTEXT, buildReplyPrompt } from './prompt'
1212
import type { Message, OpenAIConfig, ToneType } from './types'
1313
import { formatAsUserAndAssistant } from './utils'
1414

File renamed without changes.

0 commit comments

Comments
 (0)