chore(search): add Tavily key config placeholders
Signed-off-by: Asklv <boironic@gmail.com>
This commit is contained in:
@@ -43,6 +43,9 @@
|
|||||||
#ifndef MIMI_SECRET_FEISHU_APP_SECRET
|
#ifndef MIMI_SECRET_FEISHU_APP_SECRET
|
||||||
#define MIMI_SECRET_FEISHU_APP_SECRET ""
|
#define MIMI_SECRET_FEISHU_APP_SECRET ""
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef MIMI_SECRET_TAVILY_KEY
|
||||||
|
#define MIMI_SECRET_TAVILY_KEY ""
|
||||||
|
#endif
|
||||||
|
|
||||||
/* WiFi */
|
/* WiFi */
|
||||||
#define MIMI_WIFI_MAX_RETRY 10
|
#define MIMI_WIFI_MAX_RETRY 10
|
||||||
@@ -141,6 +144,7 @@
|
|||||||
#define MIMI_NVS_KEY_FEISHU_APP_ID "app_id"
|
#define MIMI_NVS_KEY_FEISHU_APP_ID "app_id"
|
||||||
#define MIMI_NVS_KEY_FEISHU_APP_SECRET "app_secret"
|
#define MIMI_NVS_KEY_FEISHU_APP_SECRET "app_secret"
|
||||||
#define MIMI_NVS_KEY_API_KEY "api_key"
|
#define MIMI_NVS_KEY_API_KEY "api_key"
|
||||||
|
#define MIMI_NVS_KEY_TAVILY_KEY "tavily_key"
|
||||||
#define MIMI_NVS_KEY_MODEL "model"
|
#define MIMI_NVS_KEY_MODEL "model"
|
||||||
#define MIMI_NVS_KEY_PROVIDER "provider"
|
#define MIMI_NVS_KEY_PROVIDER "provider"
|
||||||
#define MIMI_NVS_KEY_PROXY_HOST "host"
|
#define MIMI_NVS_KEY_PROXY_HOST "host"
|
||||||
|
|||||||
@@ -22,3 +22,8 @@ esp_err_t tool_web_search_execute(const char *input_json, char *output, size_t o
|
|||||||
* Save Brave Search API key to NVS.
|
* Save Brave Search API key to NVS.
|
||||||
*/
|
*/
|
||||||
esp_err_t tool_web_search_set_key(const char *api_key);
|
esp_err_t tool_web_search_set_key(const char *api_key);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Save Tavily API key to NVS.
|
||||||
|
*/
|
||||||
|
esp_err_t tool_web_search_set_tavily_key(const char *api_key);
|
||||||
|
|||||||
Reference in New Issue
Block a user