Skip to content

Commit 7027058

Browse files
authored
genai[patch]: add standard test for audio inputs (#869)
* bump langchain-tests * enable test for audio
1 parent d12af3e commit 7027058

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

libs/genai/poetry.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/genai/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ syrupy = "^4.0.2"
2828
pytest-watcher = "^0.3.4"
2929
pytest-asyncio = "^0.21.1"
3030
numpy = ">=1.26.2"
31-
langchain-tests = "0.3.18"
31+
langchain-tests = "0.3.19"
3232

3333
[tool.codespell]
3434
ignore-words-list = "rouge"

libs/genai/tests/integration_tests/test_standard.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ def supports_image_urls(self) -> bool:
3737
def supports_pdf_inputs(self) -> bool:
3838
return True
3939

40+
@property
41+
def supports_audio_inputs(self) -> bool:
42+
return True
43+
4044
@pytest.mark.xfail(
4145
reason="Likely a bug in genai: prompt_token_count inconsistent in final chunk."
4246
)

0 commit comments

Comments
 (0)