-
Notifications
You must be signed in to change notification settings - Fork 657
Open
Description
Hi everyone,
Please help me figure this out. When I run maestro_anypi.py, get the following error:
C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_config.py:341: UserWarning: Valid config keys have changed in V2:
- 'allow_population_by_field_name' has been renamed to 'populate_by_name'
- 'smart_union' has been removed
warnings.warn(message, UserWarning)
Traceback (most recent call last):
File "C:\Users\Admin\Documents\Protostar Technologies Pvt. Ltd\Cloud Web App\App Dev\Proto-Maestro\maestro_anyapi.py", line 8, in
from tavily import TavilyClient
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\tavily_init_.py", line 4, in
from .hybrid_rag import TavilyHybridClient
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\tavily\hybrid_rag_init_.py", line 1, in
from .hybrid_rag import TavilyHybridClient
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\tavily\hybrid_rag\hybrid_rag.py", line 8, in
co = cohere.Client()
^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\cohere\client.py", line 151, in init
BaseCohere.init(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\cohere\base_client.py", line 128, in init
raise ApiError(body="The client must be instantiated be either passing in token or setting CO_API_KEY")
cohere.core.api_error.ApiError: status_code: None, body: The client must be instantiated be either passing in token or setting CO_API_KEY
Can anyone help me with this? I tried to find this online but couldn't find any solution to this? Thanks!
Metadata
Metadata
Assignees
Labels
No labels