code: def test_valid_generation_parameters():
      # these are valid parameters
      kwargs = {"max_new_tokens": 100, "temperature": 0.8}
      additional_accepted_params = None
      check_generation_params(kwargs, additional_accepted_params)
  
imports: import pytest
  from haystack.components.generators.hf_utils import check_generation_params
label_desc: Use image node_id 2 for calling a global function with example usage: test_valid_generation_parameters() without return types