@@ -89,7 +89,7 @@ End Property
8989
9090Public Property Let Temperature(ByVal value As Double )
9191 If (value < 0 ) Or (value > 1 ) Then
92- Call mobjLogger .LogCriticalMessage ("Temperature setting must be between 0 and 1!" , blnAddModuleName:=False )
92+ Call mobjLogger .PrintCriticalMessage ("Temperature setting must be between 0 and 1!" , blnAddModuleName:=False )
9393 End If
9494 mobjRequest.Temperature = value
9595End Property
@@ -180,7 +180,7 @@ EXIT_HERE:
180180 Exit Function
181181
182182ERR_HANDLER:
183- mobjLogger.LogVBAError Err
183+ mobjLogger.PrintVBAError Err
184184 GoTo EXIT_HERE
185185End Function
186186
@@ -199,7 +199,7 @@ Public Function ChatCompletion(ByVal oMessages As clsOpenAIMessages) As clsOpenA
199199 Set ChatCompletion = Nothing
200200
201201 If Not IsAPIKeyValid Then
202- mobjLogger.LogCriticalMessage MESSAGE_INVALID_API_KEY, True
202+ mobjLogger.PrintCriticalMessage MESSAGE_INVALID_API_KEY, True
203203 Exit Function
204204 End If
205205
@@ -230,7 +230,7 @@ Public Function TextCompletion(ByVal strPrompt As String) As clsOpenAIResponse
230230 Set TextCompletion = Nothing
231231
232232 If Not IsAPIKeyValid Then
233- mobjLogger.LogCriticalMessage MESSAGE_INVALID_API_KEY, True
233+ mobjLogger.PrintCriticalMessage MESSAGE_INVALID_API_KEY, True
234234 Exit Function
235235 End If
236236
@@ -304,7 +304,7 @@ Public Sub ClearSettings()
304304End Sub
305305
306306Public Function GetReadAPIKeyFromFolder (ByVal strfolderPath As String ) As String
307- 'Purpose: Allows retrieval of an API KEY saved in an external file (possibly stored on a user access drive )
307+ 'Purpose: Allows retrieval of an API KEY saved in an external file (possibly stored on a drive only the current user can access )
308308
309309 Dim intFileNumber As Integer
310310 Dim strAPIKey As String
0 commit comments