Skip to content

Commit

Permalink
Fix langchain base chain import
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 643323466
  • Loading branch information
Generative Computing committed Jun 14, 2024
1 parent 8d61619 commit b102d5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion genc/python/interop/langchain/custom_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@

from langchain import chains
from langchain.callbacks import manager
from langchain.chains import base as chains_base

from genc.proto.v0 import computation_pb2 as pb

ChainedOpType: TypeAlias = Union[
int, pb.Value, chains.base.Chain, chains.LLMChain, Any
int, pb.Value, chains_base.Chain, chains.LLMChain, Any
]


Expand Down

0 comments on commit b102d5f

Please sign in to comment.