-
I am calling a function that accepts |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out my problem came from another issue. The import of from pydantic import SecretStr And it had to be changed to: from langchain_core.pydantic_v1 import SecretStr In the end, it was a mismatch between two different |
Beta Was this translation helpful? Give feedback.
Turns out my problem came from another issue. The import of
T
(SecretStr
in my case) became invalid as the type moved to another package. Originally it was:And it had to be changed to:
In the end, it was a mismatch between two different
SecretStr
types.