Skip to content

Commit 2be9b38

Browse files
authored
Merge branch 'main' into fix/#2883-mysql-datatype-fix
2 parents de110e6 + 05aa3fa commit 2be9b38

File tree

357 files changed

+43510
-3939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+43510
-3939
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ assignees: ''
1414
A clear and concise description of what the bug is.
1515

1616
**To Reproduce**
17+
Please share a minimal code and data to reproduce your problem.
1718
Steps to reproduce the behavior:
1819
1. Install '...'
1920
2. Run '....'
2021
3. Open '....'
21-
4. See error
22+
4. Provie error or stacktrace
2223

2324
**Expected behavior**
2425
A clear and concise description of what you expected to happen.
@@ -27,12 +28,13 @@ A clear and concise description of what you expected to happen.
2728
If applicable, add screenshots to help explain your problem.
2829

2930
**Desktop (please complete the following information):**
30-
- OS: [e.g. iOS]
31+
- OS: [e.g. macOS, Linux, Windows]
3132
- Python version(python -V):
3233
- ADK version(pip show google-adk):
3334

3435
**Model Information:**
35-
For example, which model is being used.
36+
- Are you using LiteLLM: Yes/No
37+
- Which model is being used(e.g. gemini-2.5-pro)
3638

3739
**Additional context**
3840
Add any other context about the problem here.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Analyze New Release for ADK Docs Updates
2+
3+
on:
4+
# Runs on every new release.
5+
release:
6+
types: [published]
7+
# Manual trigger for testing and retrying.
8+
workflow_dispatch:
9+
10+
jobs:
11+
analyze-new-release-for-adk-docs-updates:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
issues: write
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.11'
25+
26+
- name: Load adk-bot SSH Private Key
27+
uses: webfactory/ssh-agent@v0.9.0
28+
with:
29+
ssh-private-key: ${{ secrets.ADK_BOT_SSH_PRIVATE_KEY }}
30+
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install requests google-adk
35+
36+
- name: Run Analyzing Script
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.ADK_TRIAGE_AGENT }}
39+
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
40+
GOOGLE_GENAI_USE_VERTEXAI: 0
41+
DOC_OWNER: 'google'
42+
CODE_OWNER: 'google'
43+
DOC_REPO: 'adk-docs'
44+
CODE_REPO: 'adk-python'
45+
INTERACTIVE: 0
46+
PYTHONPATH: contributing/samples/adk_documentation
47+
run: python -m adk_release_analyzer.main

.github/workflows/discussion_answering.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: ADK Answering Agent for Discussions
33
on:
44
discussion:
55
types: [created]
6+
discussion_comment:
7+
types: [created]
68

79
jobs:
810
agent-answer-questions:
9-
if: github.event.discussion.category.name == 'Q&A'
11+
if: >-
12+
(github.event_name == 'discussion' && github.event.discussion.category.name == 'Q&A') ||
13+
(github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@adk-bot') && github.event.sender.login != 'adk-bot')
1014
runs-on: ubuntu-latest
1115

1216
steps:
@@ -42,4 +46,9 @@ jobs:
4246
REPO: 'adk-python'
4347
INTERACTIVE: 0
4448
PYTHONPATH: contributing/samples
45-
run: python -m adk_answering_agent.main --discussion '${{ toJson(github.event.discussion) }}'
49+
run: |
50+
# Write discussion data to temporary file to avoid secret masking issues
51+
cat > /tmp/discussion.json << 'EOF'
52+
${{ toJson(github.event.discussion) }}
53+
EOF
54+
python -m adk_answering_agent.main --discussion-file /tmp/discussion.json

.github/workflows/pr-triage.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ name: ADK Pull Request Triaging Agent
33
on:
44
pull_request_target:
55
types: [opened, reopened, edited]
6+
workflow_dispatch:
7+
inputs:
8+
pr_number:
9+
description: 'The Pull Request number to triage'
10+
required: true
11+
type: 'string'
612

713
jobs:
814
agent-triage-pull-request:
9-
if: "!contains(github.event.pull_request.labels.*.name, 'bot triaged') && !contains(github.event.pull_request.labels.*.name, 'google-contributor')"
15+
if: github.event_name == 'workflow_dispatch' || !contains(github.event.pull_request.labels.*.name, 'google-contributor')
1016
runs-on: ubuntu-latest
1117
permissions:
1218
pull-requests: write
@@ -33,7 +39,7 @@ jobs:
3339
GOOGLE_GENAI_USE_VERTEXAI: 0
3440
OWNER: 'google'
3541
REPO: 'adk-python'
36-
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
42+
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number || github.event.inputs.pr_number }}
3743
INTERACTIVE: ${{ vars.PR_TRIAGE_INTERACTIVE }}
3844
PYTHONPATH: contributing/samples
3945
run: python -m adk_pr_triaging_agent.main

.github/workflows/triage.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: ADK Issue Triaging Agent
33
on:
44
issues:
55
types: [opened, reopened]
6-
schedule:
7-
- cron: '0 */6 * * *' # every 6h
86

97
jobs:
108
agent-triage-issues:

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Please refer to [ADK Project Overview and Architecture](https://github.com/googl
1717
- ADK live related configs are in [run_config.py](https://github.com/google/adk-python/blob/main/src/google/adk/agents/run_config.py).
1818
- ADK live under multi-agent scenario: we convert the audio into text. This text will be passed to next agent as context.
1919
- Most logics are in [base_llm_flow.py](https://github.com/google/adk-python/blob/main/src/google/adk/flows/llm_flows/base_llm_flow.py) and [gemini_llm_connection.py](https://github.com/google/adk-python/blob/main/src/google/adk/models/gemini_llm_connection.py).
20+
- Input transcription and output transcription should be added to session as Event.
21+
- User audio or model audio should be saved into artifacts with a reference in Event to it.
2022
- Tests are in [tests/unittests/streaming](https://github.com/google/adk-python/tree/main/tests/unittests/streaming).
2123

2224
## ADK: Style Guides

0 commit comments

Comments
 (0)