Closed luarss closed 2 months ago
Is this done? @palaniappan-r
Hi @luarss
I was able to fix most errors, except this one,
backend/src/chains/base_chain.py:35: error: Missing named argument "client_options" for "ChatGoogleGenerativeAI" [call-arg]
backend/src/chains/base_chain.py:35: error: Missing named argument "transport" for "ChatGoogleGenerativeAI" [call-arg]
backend/src/chains/base_chain.py:35: error: Missing named argument "additional_headers" for "ChatGoogleGenerativeAI" [call-arg]
backend/src/chains/base_chain.py:35: error: Missing named argument "client" for "ChatGoogleGenerativeAI" [call-arg]
backend/src/chains/base_chain.py:35: error: Missing named argument "async_client" for "ChatGoogleGenerativeAI" [call-arg]
This is being thrown as I'm not passing the some arguments when using the Gemini API (these args are optional anyway)
For now, I've ignored this by adding disable_error_code = call-arg
to the mypy config
LGTM
faiss.py
is now passing mypy checks (minus two random missing variables?)Please do the same for the rest of backend @palaniappan-r
Fixes #9