Skip to content

The agent engineering platform.

fireworks: fix integration tests (#20973)

ccurme9ec71513176d
diff --git a/libs/partners/fireworks/Makefile b/libs/partners/fireworks/Makefile
index c474a01c03..c43ca397b1 100644
--- a/libs/partners/fireworks/Makefile
+++ b/libs/partners/fireworks/Makefile
@@ -5,7 +5,7 @@ all: help
# Define a variable for the test file path.
TEST_FILE ?= tests/unit_tests/
-integration_test integration_tests: TEST_FILE ?= tests/integration_tests/
+integration_test integration_tests: TEST_FILE = tests/integration_tests/
test tests integration_test integration_tests:
poetry run pytest $(TEST_FILE)
diff --git a/libs/partners/fireworks/tests/integration_tests/test_standard.py b/libs/partners/fireworks/tests/integration_tests/test_standard.py
index c8f9c05c1b..bfeeca693d 100644
--- a/libs/partners/fireworks/tests/integration_tests/test_standard.py
+++ b/libs/partners/fireworks/tests/integration_tests/test_standard.py
@@ -13,3 +13,21 @@ class TestFireworksStandard(ChatModelIntegrationTests):
@pytest.fixture
def chat_model_class(self) -> Type[BaseChatModel]:
return ChatFireworks
+
+ @pytest.fixture
+ def chat_model_params(self) -> dict:
+ return {
+ "model": "accounts/fireworks/models/firefunction-v1",
+ "temperature": 0,
+ }
+
+ @pytest.mark.xfail(reason="Not yet implemented.")
+ def test_tool_message_histories_list_content(
+ self,
+ chat_model_class: Type[BaseChatModel],
+ chat_model_params: dict,
+ chat_model_has_tool_calling: bool,
+ ) -> None:
+ super().test_tool_message_histories_list_content(
+ chat_model_class, chat_model_params, chat_model_has_tool_calling
+ )