File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- export JINA_KEY= " your_jina_key "
1
+ export JINA_API_KEY= " your_jina_api_key "
2
2
export SEARCH_API_URL=" your_search_api_url"
3
3
export GOOGLE_SEARCH_KEY=" your_google_search_key"
4
4
Original file line number Diff line number Diff line change 14
14
# Visit Tool (Using Jina Reader)
15
15
JINA_READER_URL_PREFIX = "https://r.jina.ai/"
16
16
17
- JINA_API_KEYS = os .getenv ("JINA_API_KEYS " )
17
+ JINA_API_KEY = os .getenv ("JINA_API_KEY " )
18
18
19
19
20
20
@register_tool ('visit' , allow_overwrite = True )
@@ -111,7 +111,7 @@ def jina_readpage(self, url: str) -> str:
111
111
str: The webpage content or error message
112
112
"""
113
113
headers = {
114
- "Authorization" : f"Bearer { random . choice ( JINA_API_KEYS ) } " ,
114
+ "Authorization" : f"Bearer { JINA_API_KEY } " ,
115
115
}
116
116
max_retries = 3
117
117
timeout = 10
You can’t perform that action at this time.
0 commit comments