code: def set_next_as_input(self) -> None:
      # Places the next token into the input token for next round of generation
      if self.next_token is not None:
          self.input_tokens = self.next_token.unsqueeze(0)
      self.last_in_prompt = True
      self.next_token = None
      self.is_done = False
  
imports: from dataclasses import dataclass, field, asdict
  from typing import Any, Dict, List, Iterator, Union
  from typing_extensions import Self
  import torch
  from mii.constants import GenerationFinishReason
  from mii.config import GenerateParamsConfig
label_desc: Use image node_id 20 for calling the Request obj's underlying member method code with example usage: obj.set_next_as_input() without return types