Skip to content

Commit

Permalink
bugfix(chatgpt_demo): update the openAI component version
Browse files Browse the repository at this point in the history
Closes AEGHB-660
  • Loading branch information
liangshuzhi5193 committed May 21, 2024
1 parent a9bbead commit 446fd12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/chatgpt_demo/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## IDF Component Manager Manifest File
dependencies:
espressif/openai: ">=0.3.1"
espressif/openai: "1.0.*"
espressif/esp-sr: "1.3.3"
chmorgan/esp-audio-player: "1.0.6"
chmorgan/esp-file-iterator: "1.0.0"
4 changes: 2 additions & 2 deletions examples/chatgpt_demo/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ esp_err_t start_openai(uint8_t *audio, int audio_len)
err:
// Clearing resources
if (speechresult) {
speechresult->delete (speechresult);
speechresult->deleteResponse (speechresult);
}

if (result) {
result->delete (result);
result->deleteResponse (result);
}

if (text) {
Expand Down

0 comments on commit 446fd12

Please sign in to comment.