Skip to content

Commit 0b5d0aa

Browse files
committed
fix: update types and initialization for systemReminder
1 parent 834cd87 commit 0b5d0aa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ const plugin: Plugin = (async (ctx) => {
4545

4646
const prompts = {
4747
synthInstruction: loadPrompt("synthetic"),
48-
nudgeInstruction: loadPrompt("nudge")
48+
nudgeInstruction: loadPrompt("nudge"),
49+
systemReminder: loadPrompt("system-reminder")
4950
}
5051

5152
// Install global fetch wrapper for context pruning and synthetic instruction injection

lib/fetch-wrapper/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export interface FormatDescriptor {
2929
export interface SynthPrompts {
3030
synthInstruction: string
3131
nudgeInstruction: string
32+
systemReminder: string
3233
}
3334

3435
export interface FetchHandlerContext {

0 commit comments

Comments
 (0)