mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 14:43:07 +00:00
Add missing import
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import time
|
||||
from typing import Optional
|
||||
|
||||
from langchain_core.caches import InMemoryCache
|
||||
from langchain_core.language_models import GenericFakeChatModel
|
||||
from langchain_core.rate_limiters import InMemoryRateLimiter
|
||||
from typing import Optional as Optional
|
||||
|
||||
|
||||
def test_rate_limit_invoke() -> None:
|
||||
@@ -220,7 +220,6 @@ class SerializableModel(GenericFakeChatModel):
|
||||
def is_lc_serializable(cls) -> bool:
|
||||
return True
|
||||
|
||||
|
||||
SerializableModel.model_rebuild()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user