mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
groq[patch]: update standard tests (#27744)
- Add xfail on integration test (fails [> 50% of the time](https://github.com/langchain-ai/langchain/actions/workflows/scheduled_test.yml)); - Remove xfail on passing unit test.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
from typing import Type
|
||||
|
||||
import pytest
|
||||
from langchain_core.language_models import BaseChatModel
|
||||
from langchain_standard_tests.unit_tests.chat_models import (
|
||||
ChatModelUnitTests,
|
||||
@@ -15,7 +14,3 @@ class TestGroqStandard(ChatModelUnitTests):
|
||||
@property
|
||||
def chat_model_class(self) -> Type[BaseChatModel]:
|
||||
return ChatGroq
|
||||
|
||||
@pytest.mark.xfail(reason="Groq does not support tool_choice='any'")
|
||||
def test_bind_tool_pydantic(self, model: BaseChatModel) -> None:
|
||||
super().test_bind_tool_pydantic(model)
|
||||
|
||||
Reference in New Issue
Block a user