bugfix(chatgpt_demo): update the openAI component version

Closes AEGHB-660
This commit is contained in:
Liang Hao
2024-05-21 09:42:09 +08:00
parent a9bbead698
commit 446fd125d9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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) {