def sample_ppo_lstm_params(trial: optuna.Trial, n_actions: int, n_envs: int, additional_args: dict) -> dict[str, Any]:
    """
    Sampler for RecurrentPPO hyperparams.
    uses sample_ppo_params(), this function samples for the policy_kwargs
    :param trial:
    :return:
    """
    return sample_ppo_params(trial, n_actions, n_envs, additional_args)
    # enable_critic_lstm = trial.suggest_categorical("enable_critic_lstm", [False, True])
    # lstm_hidden_size = trial.suggest_categorical("lstm_hidden_size", [16, 32, 64, 128, 256, 512])

    # hyperparams["policy_kwargs"].update(
    #     {
    #         "enable_critic_lstm": enable_critic_lstm,
    #         "lstm_hidden_size": lstm_hidden_size,
    #     }
    # )

    # return hyperparams

    Sampler for RecurrentPPO hyperparams.
    uses sample_ppo_params(), this function samples for the policy_kwargs
    :param trial:
    :return:
    
rl_zoo3/hyperparams_opt.py