json mode standard test (#25497)

Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
Bagatur
2024-12-17 10:47:34 -08:00
committed by GitHub
parent 24bf24270d
commit e4d3ccf62f
8 changed files with 127 additions and 2 deletions

View File

@@ -22,6 +22,10 @@ class TestChatOllama(ChatModelIntegrationTests):
def supports_image_inputs(self) -> bool:
return True
@property
def supports_json_mode(self) -> bool:
return True
@pytest.mark.xfail(
reason=(
"Fails with 'AssertionError'. Ollama does not support 'tool_choice' yet."