code: def test_additional_accepted_params_known_parameter():
      # both are valid parameters
      kwargs = {"temperature": 0.8}
      additional_accepted_params = ["max_new_tokens"]
      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 5 for calling a global function with example usage: test_additional_accepted_params_known_parameter() without return types