OpenAI documentation says "Do not share your API key with others, or expose it in the browser or other client-side code." This means that if you are building a web app, you should not leak the service's API key to your users. Assistant stores the API key in your browser's localStorage and only sends it directly to OpenAI's API.
OpenAI API key:
Settings
All settings are saved and synced across tabs.
Save conversation
Maximum number of previous messages sent to the API
ChatGPT has no memory, so the conversation history needs to be sent during each new message. Sending all messages can get expensive, and will eventually reach the maximum number of tokens allowed per request. You can adjust this parameter during the conversation if you feel the AI should have more context, or if you want to save tokens. Zero means only the last user’s message and the initial system message will be sent.
Initial system message
You can write here any instructions for the AI that you don't want to manually repeat in each conversation. This is sent to the API even if early messages are truncated.