mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
* test: remove 130 legacy tests owned by stronger unit proofs Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test: list router _embedding and _aembedding as covered via public embedding calls Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: yuneng <yuneng@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
43 lines
1.4 KiB
Python
43 lines
1.4 KiB
Python
from base_llm_unit_tests import BaseLLMChatTest
|
|
import pytest
|
|
|
|
import litellm
|
|
|
|
|
|
class TestBedrockNovaJson(BaseLLMChatTest):
|
|
test_content_list_handling = None
|
|
test_developer_role_translation = None
|
|
test_empty_tools = None
|
|
test_function_calling_with_tool_response = None
|
|
test_json_response_format_stream = None
|
|
test_tool_call_with_empty_enum_property = None
|
|
test_tool_call_with_property_type_array = None
|
|
|
|
def get_base_completion_call_args(self) -> dict:
|
|
litellm._turn_on_debug()
|
|
return {
|
|
"model": "bedrock/converse/us.amazon.nova-micro-v1:0",
|
|
}
|
|
|
|
def test_json_response_nested_pydantic_obj(self):
|
|
pass
|
|
|
|
def test_json_response_nested_json_schema(self):
|
|
pass
|
|
|
|
def test_tool_call_no_arguments(self, tool_call_no_arguments):
|
|
"""Test that tool calls with no arguments is translated correctly. Relevant issue: https://github.com/BerriAI/litellm/issues/6833"""
|
|
pass
|
|
|
|
def test_prompt_caching(self):
|
|
"""
|
|
Remove override once we have access to Bedrock prompt caching
|
|
"""
|
|
pass
|
|
|
|
# @pytest.fixture(autouse=True)
|
|
# def skip_non_json_tests(self, request):
|
|
# if not "json" in request.function.__name__.lower():
|
|
# pytest.skip(
|
|
# f"Skipping non-JSON test: {request.function.__name__} does not contain 'json'"
|
|
# )
|