mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
removed redundunt test functions
This commit is contained in:
parent
31e0642d52
commit
ecd96fb7ef
1 changed files with 0 additions and 15 deletions
|
|
@ -4139,18 +4139,3 @@ class TestValidateAndFixThinkingParam:
|
|||
validate_and_fix_thinking_param(thinking=thinking)
|
||||
assert "budgetTokens" in thinking
|
||||
assert "budget_tokens" not in thinking
|
||||
|
||||
|
||||
def test_normalize_array_of_strings_in_content():
|
||||
from litellm.utils import validate_and_fix_openai_messages
|
||||
|
||||
messages = [
|
||||
{
|
||||
"role": "user",
|
||||
"content": ["what is the capital of France?"],
|
||||
}
|
||||
]
|
||||
result = validate_and_fix_openai_messages(messages=messages)
|
||||
assert result[0]["content"] == [
|
||||
{"type": "text", "text": "what is the capital of France?"},
|
||||
]
|
||||
Loading…
Add table
Reference in a new issue