Skip to content

Commit

Permalink
fix date issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmohsin7 committed Feb 26, 2025
1 parent bf4a70c commit 9e9d82a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions personas-open-source/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ ${extraPromptRules}
Recent activity on Linkedin:\n"${enhancedDesc}" which you can use for your personality. Responses should help the conversation go deeper. You have strong opinions, slightly controversial.`;
try {
const createdAtFormatted = formatDate(new Date().toISOString());
const persona_id = ulid();
const docData = {
'id': persona_id,
Expand All @@ -613,14 +612,14 @@ Recent activity on Linkedin:\n"${enhancedDesc}" which you can use for your perso
'category': 'personality-emulation',
'capabilities': ['persona'],
'connected_accounts': ['linkedin'],
'created_at': createdAtFormatted,
'connected_at': new Date().toISOString(),
'private': false,
'persona_prompt': fullChatPrompt,
'avatar': formattedAvatarUrl,
'linkedin': {
'username': cleanHandle.toLowerCase(),
'avatar': formattedAvatarUrl,
'connected_at': createdAtFormatted,
'connected_at': new Date().toISOString(),
}
};

Expand Down

0 comments on commit 9e9d82a

Please sign in to comment.