Gemini 3 Flash #3957
Replies: 4 comments
-
|
@adk-bot any ideas? |
Beta Was this translation helpful? Give feedback.
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: Your agent configuration to disable thoughts seems correct. The issue might be related to your streaming implementation or a conflicting configuration. Please check your Hi there! Thanks for your question. Your configuration of the Here are a few things you could check:
from google.adk import Agent
from google.adk.planners import BuiltInPlanner
from google.genai import types
root_agent = Agent(
name="root_agent",
model="gemini-3-flash-preview",
static_instruction=types.Content(role="user", parts=[types.Part(text=load_prompt_from_file(Prompt.ASSIST.value))]),
planner=BuiltInPlanner(
thinking_config=types.ThinkingConfig(include_thoughts=False)
),
generate_content_config=types.GenerateContentConfig(
thinking_config=None # Explicitly setting this to None
)
)If you've checked these points and the issue persists, it would be helpful if you could share a bit more of your code, specifically how you are calling the Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
@adk-bot What I experience is the streaming of the following parts: I have set |
Beta Was this translation helpful? Give feedback.
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: The behavior you're observing is likely caused by the instructions within your prompt ( Hi again! Thank you for providing the extra details. This is very helpful. The output you're seeing ( The Here are my recommendations:
Please let me know if modifying the prompt resolves the issue! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have configured gemini-3-flash-preview and set include_thoughts to false. However, in streaming mode, the thoughts are still included in the response. Does anyone know how to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions