feat: Enable PROGRESSIVE_SSE_STREAMING feature by default

Related: https://github.com/google/adk-python/issues/3705

Co-authored-by: Xuan Yang <xygoogle@google.com>
PiperOrigin-RevId: 846793027
This commit is contained in:
Xuan Yang
2025-12-19 10:50:49 -08:00
committed by Copybara-Service
parent 71b32890f5
commit 0b1cff2976
3 changed files with 61 additions and 89 deletions
@@ -26,14 +26,6 @@ from google.adk.models.llm_response import LlmResponse
from google.adk.runners import InMemoryRunner
from google.adk.utils.streaming_utils import StreamingResponseAggregator
from google.genai import types
import pytest
@pytest.fixture(autouse=True)
def reset_env(monkeypatch):
monkeypatch.setenv("ADK_ENABLE_PROGRESSIVE_SSE_STREAMING", "1")
yield
monkeypatch.delenv("ADK_ENABLE_PROGRESSIVE_SSE_STREAMING")
def get_weather(location: str) -> dict[str, Any]: