Skip to content

Commit 2af777a

Browse files
Jacksunweicopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 749409258
1 parent 32dc145 commit 2af777a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/google/adk/planners/built_in_planner.py

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def apply_thinking_config(self, llm_request: LlmRequest) -> None:
5656
llm_request: The LLM request to apply the thinking config to.
5757
"""
5858
if self.thinking_config:
59+
llm_request.config = llm_request.config or types.GenerateContentConfig()
5960
llm_request.config.thinking_config = self.thinking_config
6061

6162
@override

0 commit comments

Comments
 (0)