Skip to content

Commit 2dcf1af

Browse files
authored
Feat/config deafult (#768)
* feat: update config * update bocha
1 parent c65593d commit 2dcf1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memos/api/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def get_internet_config() -> dict[str, Any]:
468468
return {
469469
"backend": "bocha",
470470
"config": {
471-
"api_key": os.getenv("BOCHA_API_KEY"),
471+
"api_key": os.getenv("BOCHA_API_KEY", "bocha"),
472472
"max_results": 15,
473473
"num_per_request": 10,
474474
"reader": {

0 commit comments

Comments
 (0)