MCPcopy Create free account
hub / github.com/BerriAI/litellm / test_empty_content

Function test_empty_content

tests/local_testing/test_function_setup.py:21–36  ·  view source on GitHub ↗

Make a chat completions request with empty content -> expect this to work

()

Source from the content-addressed store, hash-verified

19
20
21def test_empty_content():
22 """
23 Make a chat completions request with empty content -> expect this to work
24 """
25 rules_obj = Rules()
26
27 def completion():
28 pass
29
30 function_setup(
31 original_function="completion",
32 rules_obj=rules_obj,
33 start_time=datetime.now(),
34 messages=[],
35 litellm_call_id=str(uuid.uuid4()),
36 )
37
38
39def test_thought_signature_removal_for_non_gemini():

Callers

nothing calls this directly

Calls 3

RulesClass · 0.90
function_setupFunction · 0.90
nowMethod · 0.45

Tested by

no test coverage detected