Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Fixed error in the Excel function test, where the API key passed to the function was not been set in the call. Updated Demo project with recently updated modules.
  • Loading branch information
zq99 authored Jan 7, 2024
1 parent 6ad0ce8 commit ead4ed2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified OpenAIFrameworkDemo.xlsm
Binary file not shown.
2 changes: 1 addition & 1 deletion mdOpenAI_Examples.bas
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Public Function GETTEXTFROMOPENAI(ByVal strPrompt As String, ByVal strAPIKey As

Set oOpenAI = New clsOpenAI

oOpenAI.API_KEY = API_KEY
oOpenAI.API_KEY = strAPIKey

If Not IsEmpty(strModel) Then
oOpenAI.Model = strModel
Expand Down

0 comments on commit ead4ed2

Please sign in to comment.