File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 23
23
base_url = os .getenv ("BASE_URL" , "http://localhost:8000/v3" )
24
24
25
25
logger = logging .getLogger (__name__ )
26
-
26
+ xfail = pytest . mark . xfail
27
27
28
28
class TestSingleModelInference :
29
-
29
+ @ xfail ( reason = "not implemented yet" )
30
30
def test_chat_with_tool_definition (self ):
31
31
"""
32
32
<b>Description</b>
@@ -133,6 +133,7 @@ def test_chat_with_tool_definition(self):
133
133
assert "15 degrees" in completion .choices [0 ].message .content
134
134
assert completion .choices [0 ].message .tool_calls == []
135
135
136
+ @xfail (reason = "not implemented yet" )
136
137
def test_chat_with_dual_tools_definition (self ):
137
138
"""
138
139
<b>Description</b>
@@ -242,7 +243,7 @@ def test_chat_with_dual_tools_definition(self):
242
243
print ("Error:" , e )
243
244
assert True , f"It should fail with 2 tool calls"
244
245
245
-
246
+ @ xfail ( reason = "not implemented yet" )
246
247
def test_chat_with_tool_definition_stream (self ):
247
248
"""
248
249
<b>Description</b>
@@ -304,7 +305,7 @@ def test_chat_with_tool_definition_stream(self):
304
305
arguments += chunk .choices [0 ].delta .tool_calls [0 ].function .arguments
305
306
assert arguments == '{"location": "Paris, France"}'
306
307
307
-
308
+ @ xfail ( reason = "not implemented yet" )
308
309
def test_chat_with_structured_output (self ):
309
310
"""
310
311
<b>Description</b>
You can’t perform that action at this time.
0 commit comments