Skip to content

Commit b0fd47b

Browse files
committed
chore: minor change
1 parent 266155c commit b0fd47b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/backend-convex/convex/http/ai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ aiApp
149149
threadId,
150150
role: 'user',
151151
content,
152-
context: { ...context, uid: userIdentity?.subject ?? 'UNKNOWN' },
152+
context: { ...context, uid: userIdentity?.subject ?? 'N/A' },
153153
provider,
154154
model,
155155
lockerKey,

apps/backend-convex/utils/message.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ export function buildUserMessageContent({ content, context }: Pick<Doc<'messages
2525
let builtContent = ''
2626

2727
if (context && Object.keys(context)) {
28-
builtContent += `@--System context start@\n`
28+
builtContent += `@--System Context Start@\n`
2929

3030
if (context.from)
3131
builtContent += `From: "${context.from}"\n`
3232

3333
if (context.uid)
3434
builtContent += `UID: "${context.uid}"\n`
3535

36-
builtContent += `@System context end--@\n\n`
36+
builtContent += `@System Context End--@\n\n`
3737
}
3838

3939
builtContent += content

0 commit comments

Comments
 (0)