code: def test_trimming_with_system_message_exceeding_max_tokens():
      # This message is 33 tokens long. The system message is 13 tokens long.
      messages = [
          {
              "role": "system",
              "content": "This is a short system message",
          },
          {
              "role": "user",
              "content": "This is a medium normal message, let's say litellm is awesome.",
          },
      ]
      trimmed_messages = trim_messages(
          messages, max_tokens=12, model="gpt-4-0613"
      )
      assert len(trimmed_messages) == 1
  
imports: import sys, os
  from dotenv import load_dotenv
  import copy
  import os
  import pytest
  import litellm
  from litellm.utils import trim_messages, get_token_count, get_valid_models, check_valid_key, validate_environment, function_to_dict, token_counter
label_desc: Use image node_id 8 for calling a global function with example usage: test_trimming_with_system_message_exceeding_max_tokens() without return types