def apply_thinking_config(self, llm_request: LlmRequest) -> None:
    """Applies the thinking config to the LLM request.

    Args:
      llm_request: The LLM request to apply the thinking config to.
    """
    if self.thinking_config:
      llm_request.config = llm_request.config or types.GenerateContentConfig()
      llm_request.config.thinking_config = self.thinking_config
Applies the thinking config to the LLM request.

    Args:
      llm_request: The LLM request to apply the thinking config to.
    
src/google/adk/planners/built_in_planner.py