Skip to content

Commit

Permalink
chore: extra guide to create an api key
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Mar 12, 2023
1 parent e3dd93e commit 7f2b7dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/ConversationCardForSearch/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ function ConversationCardForSearch(props) {
UpdateAnswer(
`UNAUTHORIZED<br>Please login at https://chat.openai.com first${
isSafari() ? '<br>Then open https://chat.openai.com/api/auth/session' : ''
}<br>And refresh this page or type you question again`,
}<br>And refresh this page or type you question again` +
`<br><br>Consider creating an api key at https://platform.openai.com/account/api-keys<hr>`,
false,
'error',
)
Expand All @@ -96,7 +97,8 @@ function ConversationCardForSearch(props) {
UpdateAnswer(
`OpenAI Security Check Required<br>Please open ${
isSafari() ? 'https://chat.openai.com/api/auth/session' : 'https://chat.openai.com'
}<br>And refresh this page or type you question again`,
}<br>And refresh this page or type you question again` +
`<br><br>Consider creating an api key at https://platform.openai.com/account/api-keys<hr>`,
false,
'error',
)
Expand Down

0 comments on commit 7f2b7dd

Please sign in to comment.