Adding an OpenAI API key
Adding an API key can be done through the widget below. Simply save the key to a file and point the widget to it. By default, the file is at Path * '.secrets' / 'open-ai-api-key.txt'
.

You can also store the key programmatically using the following snippet:
apiKey := ''. fileLocation := GtOpenAIClient apiKeyFile. fileLocation ensureDelete writeStreamDo: [ :s | s nextPutAll: apiKey ]