mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 06:48:50 +00:00
multiple: merge master into v0.3rc branch (#26163)
Signed-off-by: ChengZi <chen.zhang@zilliz.com> Co-authored-by: Bagatur <baskaryan@gmail.com> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com> Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com> Co-authored-by: ZhangShenao <15201440436@163.com> Co-authored-by: Friso H. Kingma <fhkingma@gmail.com> Co-authored-by: Chester Curme <chester.curme@gmail.com> Co-authored-by: ChengZi <chen.zhang@zilliz.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Unit tests for chat models."""
|
||||
|
||||
import os
|
||||
from abc import abstractmethod
|
||||
from typing import Any, List, Literal, Optional, Tuple, Type
|
||||
@@ -78,8 +79,7 @@ def my_adder(a: int, b: int) -> int:
|
||||
class ChatModelTests(BaseStandardTests):
|
||||
@property
|
||||
@abstractmethod
|
||||
def chat_model_class(self) -> Type[BaseChatModel]:
|
||||
...
|
||||
def chat_model_class(self) -> Type[BaseChatModel]: ...
|
||||
|
||||
@property
|
||||
def chat_model_params(self) -> dict:
|
||||
|
Reference in New Issue
Block a user