Skip to content

Commit

Permalink
Merge branch 'bugfix/modify_openai_component_dependency_in_chatgpt_de…
Browse files Browse the repository at this point in the history
…mo' into 'master'

bugfix(chatgpt_demo): update the openAI component version

Closes AEGHB-660

See merge request ae_group/esp-box!109
  • Loading branch information
espressif2022 committed Jun 3, 2024
2 parents a9bbead + 446fd12 commit dbe8ef9
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 dbe8ef9

Please sign in to comment.