Skip to content

Commit 534f0cf

Browse files
authored
Merge pull request #1366 from ethereum-optimism/add-disclaimer
Add disclaimer to kapa.ai modal
2 parents c5492e7 + c7c89ee commit 534f0cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

theme.config.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const config: DocsThemeConfig = {
3737
},
3838
docsRepositoryBase: 'https://github.com/ethereum-optimism/docs/blob/main/',
3939
footer: {
40-
text: <Footer />,
40+
text: <Footer />
4141
},
4242

4343
sidebar: {
@@ -102,6 +102,7 @@ const config: DocsThemeConfig = {
102102
data-modal-ask-ai-input-placeholder='Ask me a question about building on Optimism'
103103
data-button-hide='true'
104104
data-max-tokens='100'
105+
data-modal-disclaimer='This is an AI assistant powered by kapa.ai. Please be aware that any information, including personal information or sensitive data, shared by you herein is provided at your own risk and subject to the kapa.ai [privacy policy](https://www.kapa.ai/content/privacy-policy). Please note that all responses are generated by AI so remember to use your own judgment.'
105106
></script>
106107
)}
107108
</>

0 commit comments

Comments
 (0)