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:
@@ -5,6 +5,7 @@ from typing import Optional, Type
|
||||
import pytest
|
||||
from langchain_core.language_models import BaseChatModel
|
||||
from langchain_core.rate_limiters import InMemoryRateLimiter
|
||||
from langchain_core.tools import BaseTool
|
||||
from langchain_tests.integration_tests import (
|
||||
ChatModelIntegrationTests,
|
||||
)
|
||||
@@ -20,8 +21,10 @@ class BaseTestGroq(ChatModelIntegrationTests):
|
||||
return ChatGroq
|
||||
|
||||
@pytest.mark.xfail(reason="Not yet implemented.")
|
||||
def test_tool_message_histories_list_content(self, model: BaseChatModel) -> None:
|
||||
super().test_tool_message_histories_list_content(model)
|
||||
def test_tool_message_histories_list_content(
|
||||
self, model: BaseChatModel, my_adder_tool: BaseTool
|
||||
) -> None:
|
||||
super().test_tool_message_histories_list_content(model, my_adder_tool)
|
||||
|
||||
|
||||
class TestGroqLlama(BaseTestGroq):
|
||||
@@ -47,8 +50,10 @@ class TestGroqLlama(BaseTestGroq):
|
||||
@pytest.mark.xfail(
|
||||
reason=("Fails with 'Failed to call a function. Please adjust your prompt.'")
|
||||
)
|
||||
def test_tool_message_histories_string_content(self, model: BaseChatModel) -> None:
|
||||
super().test_tool_message_histories_string_content(model)
|
||||
def test_tool_message_histories_string_content(
|
||||
self, model: BaseChatModel, my_adder_tool: BaseTool
|
||||
) -> None:
|
||||
super().test_tool_message_histories_string_content(model, my_adder_tool)
|
||||
|
||||
@pytest.mark.xfail(
|
||||
reason=(
|
||||
|
||||
Reference in New Issue
Block a user