litellm-mirror/tests/llm_translation/test_deepseek_completion.py
2024-12-03 20:40:02 -08:00

21 lines
737 B
Python

from base_llm_unit_tests import BaseLLMChatTest
# Test implementation
class TestDeepSeekChatCompletion(BaseLLMChatTest):
def get_base_completion_call_args(self) -> dict:
return {
"model": "deepseek/deepseek-chat",
}
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_multilingual_requests(self):
"""
DeepSeek API raises a 400 BadRequest error when the request contains invalid utf-8 sequences.
Todo: if litellm.modify_params is True ensure it's a valid utf-8 sequence
"""
pass