Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Nov 19, 2024
1 parent c18cc18 commit ffee4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/chara.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const card = exportToJSON(json)
{json.description && <TabItem label="Description"><Markdown of={json.description} /></TabItem>}
{card.data.first_mes && <TabItem label="First Message"><Markdown of={card.data.first_mes} /></TabItem>}
{card.data.alternate_greetings.length > 0 && <TabItem label="Alternate Greetings"><Markdown of={card.data.alternate_greetings.join('\n\n---\n\n')} /></TabItem>}
{json.messageExample && <TabItem label="Example Messages"><Markdown of={card.data.mes_example.split('\n').join('\n\n')} /></TabItem>}
{json.messageExample && <TabItem label="Example Messages"><Markdown of={json.messageExample.map(arr => arr.join('\n\n')).join('\n\n---\n\n')} /></TabItem>}
{/* TODO: personality, character_book, system_prompt */}
</Tabs>

Expand Down

0 comments on commit ffee4ac

Please sign in to comment.