Skip to content

Commit 3e588cf

Browse files
DeanChensjcopybara-github
authored andcommitted
ADK changes
Co-authored-by: Shangjie Chen <deanchen@google.com> PiperOrigin-RevId: 927571309
1 parent 0113324 commit 3e588cf

5 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release-update-adk-web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
TARGET_DIR="src/google/adk/cli/browser"
2929
REPO="${{ github.event.inputs.adk_web_repo }}"
30-
TAG="${{ github.event.inputs.adk_web_tag }}"
30+
TAG="${{ github.event.inputs.adk_web_tag }}"
3131
# Clean target directory
3232
rm -rf "$TARGET_DIR"/*
3333
mkdir -p "$TARGET_DIR"

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
exclude: ^src/google/adk/cli/browser/
12
repos:
23
- repo: https://github.com/pre-commit/pre-commit-hooks
34
rev: v4.6.0

src/google/adk/utils/streaming_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,4 +406,3 @@ def close(self) -> Optional[LlmResponse]:
406406
finish_reason=finish_reason,
407407
partial=False,
408408
)
409-

tests/unittests/cli/utils/test_graph_serialization.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
"""Tests for graph_serialization edge handling with routing maps."""
16+
1617
import json
1718

1819
from google.adk.agents import LlmAgent
@@ -130,6 +131,7 @@ def __init__(self):
130131
assert result['tools'][0]['name'] == 'MockToolset'
131132
assert result['tools'][0]['type'] == 'tool'
132133

134+
133135
def test_serialize_agent_with_litellm_model_is_json_safe() -> None:
134136
agent = LlmAgent(
135137
name='repro',

tests/unittests/utils/test_streaming_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ async def test_pure_function_call_behavior_differs_by_mode(
284284
else:
285285
assert closed_response.content is None
286286

287-
288287
@pytest.mark.asyncio
289288
@pytest.mark.parametrize(
290289
"test_id, use_progressive_sse, metadata_type",

0 commit comments

Comments
 (0)