mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
undo code changes
This commit is contained in:
parent
3ee7962f9c
commit
8a72b67b18
1 changed files with 0 additions and 6 deletions
|
@ -12,7 +12,6 @@ from pydantic import BaseModel
|
|||
|
||||
import litellm
|
||||
from litellm._logging import verbose_logger
|
||||
from litellm.litellm_core_utils.llm_request_utils import LitellmCoreRequestUtils
|
||||
from litellm.litellm_core_utils.prompt_templates.factory import (
|
||||
convert_to_anthropic_image_obj,
|
||||
convert_to_gemini_tool_call_invoke,
|
||||
|
@ -285,11 +284,6 @@ def _transform_request_body(
|
|||
Common transformation logic across sync + async Gemini /generateContent calls.
|
||||
"""
|
||||
# Separate system prompt from rest of message
|
||||
model = LitellmCoreRequestUtils.select_model_for_request_transformation(
|
||||
model=model,
|
||||
litellm_params=litellm_params,
|
||||
)
|
||||
|
||||
supports_system_message = get_supports_system_message(
|
||||
model=model, custom_llm_provider=custom_llm_provider
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue