mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
multiple: fix xfailed signatures (#28597)
This commit is contained in:
@@ -4,6 +4,7 @@ from typing import Tuple, Type
|
||||
|
||||
import pytest
|
||||
from langchain_core.language_models import BaseChatModel
|
||||
from langchain_core.tools import BaseTool
|
||||
from langchain_tests.unit_tests import ChatModelUnitTests
|
||||
|
||||
from langchain_openai import AzureChatOpenAI
|
||||
@@ -23,8 +24,10 @@ class TestOpenAIStandard(ChatModelUnitTests):
|
||||
}
|
||||
|
||||
@pytest.mark.xfail(reason="AzureOpenAI does not support tool_choice='any'")
|
||||
def test_bind_tool_pydantic(self, model: BaseChatModel) -> None:
|
||||
super().test_bind_tool_pydantic(model)
|
||||
def test_bind_tool_pydantic(
|
||||
self, model: BaseChatModel, my_adder_tool: BaseTool
|
||||
) -> None:
|
||||
super().test_bind_tool_pydantic(model, my_adder_tool)
|
||||
|
||||
@property
|
||||
def init_from_env_params(self) -> Tuple[dict, dict, dict]:
|
||||
|
||||
Reference in New Issue
Block a user