Update proxy warning. Hide with CSS if you don't like it.
| @@ -2464,17 +2464,6 @@ | |||
| 2464 | <span data-i18n="Alternative server URL (leave empty to use the default value)."> | 2464 | <span data-i18n="Alternative server URL (leave empty to use the default value)."> |
| 2465 | Alternative server URL (leave empty to use the default value).<br> | 2465 | Alternative server URL (leave empty to use the default value).<br> |
| 2466 | </span> | 2466 | </span> |
| 2467 | <div id="ReverseProxyWarningMessage" class="reverse_proxy_warning"> | ||
| 2468 | <b data-i18n="Remove your real OAI API Key from the API panel BEFORE typing anything into this box"> | ||
| 2469 | Remove your real OAI API Key from the API panel BEFORE typing anything | ||
| 2470 | into this box. | ||
| 2471 | </b> | ||
| 2472 | <hr> | ||
| 2473 | <b data-i18n="We cannot provide support for problems encountered while using an unofficial OpenAI proxy"> | ||
| 2474 | We cannot provide support for problems encountered while using an | ||
| 2475 | unofficial OpenAI proxy. | ||
| 2476 | </b> | ||
| 2477 | </div> | ||
| 2478 | </div> | 2467 | </div> |
| 2479 | <div class="wide100p"> | 2468 | <div class="wide100p"> |
| 2480 | <input id="openai_reverse_proxy" type="text" class="text_pole" placeholder="https://api.openai.com/v1" maxlength="5000" /> | 2469 | <input id="openai_reverse_proxy" type="text" class="text_pole" placeholder="https://api.openai.com/v1" maxlength="5000" /> |
| @@ -2496,6 +2485,20 @@ | |||
| 2496 | </div> | 2485 | </div> |
| 2497 | </div> | 2486 | </div> |
| 2498 | </div> | 2487 | </div> |
| 2488 | <div id="ReverseProxyWarningMessage" class="reverse_proxy_warning"> | ||
| 2489 | <b> | ||
| 2490 | <div data-i18n="Using a proxy that you're not running yourself is a risk to your data privacy."> | ||
| 2491 | Using a proxy that you're not running yourself is a risk to your data privacy. | ||
| 2492 | </div> | ||
| 2493 | <div data-i18n="ANY support requests will be REFUSED if you are using a proxy."> | ||
| 2494 | ANY support requests will be REFUSED if you are using a proxy. | ||
| 2495 | </div> | ||
| 2496 | <hr> | ||
| 2497 | <i data-i18n="Do not proceed if you do not agree to this!"> | ||
| 2498 | Do not proceed if you do not agree to this! | ||
| 2499 | </i> | ||
| 2500 | </b> | ||
| 2501 | </div> | ||
| 2499 | <form id="openai_form" data-source="openai" action="javascript:void(null);" method="post" enctype="multipart/form-data"> | 2502 | <form id="openai_form" data-source="openai" action="javascript:void(null);" method="post" enctype="multipart/form-data"> |
| 2500 | <h4><span data-i18n="OpenAI API key">OpenAI API key</span></h4> | 2503 | <h4><span data-i18n="OpenAI API key">OpenAI API key</span></h4> |
| 2501 | <div> | 2504 | <div> |