Skip to content

Commit 3d45f27

Browse files
author
RN
committed
fix: resolve Pydantic test error and import sorting
1 parent b06ac9d commit 3d45f27

File tree

2 files changed

+1
-1
lines changed
  • libs/community

2 files changed

+1
-1
lines changed

libs/community/langchain_community/chat_models/mlx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import logging
55
import re
66
import uuid
7-
87
from typing import (
98
Any,
109
Callable,

libs/community/tests/unit_tests/chat_models/test_mlx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class _FakeLLM(MLXPipeline):
3636
pipeline_kwargs: dict = {}
3737

3838
def __init__(self) -> None:
39+
super().__init__()
3940
self.tokenizer = _FakeTokenizer()
4041

4142
def _generate(self, prompts, stop=None, run_manager=None, **kwargs):

0 commit comments

Comments
 (0)