From 11e287be632f55ba2931b4f34bb3daa82c3ffe48 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 2 Jul 2024 09:53:53 -0400 Subject: [PATCH 1/5] property --- libs/upstage/tests/unit_tests/test_chat_models_standard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/upstage/tests/unit_tests/test_chat_models_standard.py b/libs/upstage/tests/unit_tests/test_chat_models_standard.py index b42053b..cd5e1b1 100644 --- a/libs/upstage/tests/unit_tests/test_chat_models_standard.py +++ b/libs/upstage/tests/unit_tests/test_chat_models_standard.py @@ -10,11 +10,11 @@ class TestUpstageStandard(ChatModelUnitTests): - @pytest.fixture + @property def chat_model_class(self) -> Type[BaseChatModel]: return ChatUpstage - @pytest.fixture + @property def chat_model_params(self) -> dict: return { "model": "solar-1-mini-chat", From b544ade6592fbad2686c00209bbf4d5cb1281e04 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 2 Jul 2024 10:02:00 -0400 Subject: [PATCH 2/5] update integration tests --- .../tests/integration_tests/test_chat_models_standard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/upstage/tests/integration_tests/test_chat_models_standard.py b/libs/upstage/tests/integration_tests/test_chat_models_standard.py index ba06a00..d8d7bfd 100644 --- a/libs/upstage/tests/integration_tests/test_chat_models_standard.py +++ b/libs/upstage/tests/integration_tests/test_chat_models_standard.py @@ -10,11 +10,11 @@ class TestUpstageStandard(ChatModelIntegrationTests): - @pytest.fixture + @property def chat_model_class(self) -> Type[BaseChatModel]: return ChatUpstage - @pytest.fixture + @property def chat_model_params(self) -> dict: return { "model": "solar-1-mini-chat", From 545e585d3c55d337bb369f55d5961befad1bfd26 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 2 Jul 2024 10:05:07 -0400 Subject: [PATCH 3/5] force reinstall --- libs/upstage/poetry.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/upstage/poetry.lock b/libs/upstage/poetry.lock index 7b142a6..717c498 100644 --- a/libs/upstage/poetry.lock +++ b/libs/upstage/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "anyio" From 6f26ad4285c06ae008a3a02941ac580cc3cd67c0 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 2 Jul 2024 10:08:15 -0400 Subject: [PATCH 4/5] remove unused import --- .../upstage/tests/integration_tests/test_chat_models_standard.py | 1 - libs/upstage/tests/unit_tests/test_chat_models_standard.py | 1 - 2 files changed, 2 deletions(-) diff --git a/libs/upstage/tests/integration_tests/test_chat_models_standard.py b/libs/upstage/tests/integration_tests/test_chat_models_standard.py index d8d7bfd..8ef6315 100644 --- a/libs/upstage/tests/integration_tests/test_chat_models_standard.py +++ b/libs/upstage/tests/integration_tests/test_chat_models_standard.py @@ -2,7 +2,6 @@ from typing import Type -import pytest from langchain_core.language_models import BaseChatModel from langchain_standard_tests.integration_tests import ChatModelIntegrationTests diff --git a/libs/upstage/tests/unit_tests/test_chat_models_standard.py b/libs/upstage/tests/unit_tests/test_chat_models_standard.py index cd5e1b1..b19260d 100644 --- a/libs/upstage/tests/unit_tests/test_chat_models_standard.py +++ b/libs/upstage/tests/unit_tests/test_chat_models_standard.py @@ -2,7 +2,6 @@ from typing import Type -import pytest from langchain_core.language_models import BaseChatModel from langchain_standard_tests.unit_tests import ChatModelUnitTests From 2e6ddf9a5b64df000863758b2403d20c518f3959 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 2 Jul 2024 10:25:59 -0400 Subject: [PATCH 5/5] update langchain-standard-tests --- libs/upstage/poetry.lock | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/upstage/poetry.lock b/libs/upstage/poetry.lock index 717c498..df0fd30 100644 --- a/libs/upstage/poetry.lock +++ b/libs/upstage/poetry.lock @@ -388,7 +388,7 @@ subdirectory = "libs/partners/openai" [[package]] name = "langchain-standard-tests" -version = "0.1.0" +version = "0.1.1" description = "Standard tests for LangChain implementations" optional = false python-versions = ">=3.8.1,<4.0" @@ -396,6 +396,7 @@ files = [] develop = false [package.dependencies] +httpx = "^0.27.0" langchain-core = ">=0.1.40,<0.3" pytest = ">=7,<9" @@ -403,7 +404,7 @@ pytest = ">=7,<9" type = "git" url = "https://github.com/langchain-ai/langchain.git" reference = "HEAD" -resolved_reference = "58192d617f0e7b21ac175f869068324128949504" +resolved_reference = "ee5eedfa0419982f619d2230a88e57bdde83ca1e" subdirectory = "libs/standard-tests" [[package]]