Skip to content

Commit 04172a4

Browse files
committed
Merge upstream/main and resolve conflicts in enterprise_search_tool.py and google_search_agent_tool.py
2 parents 1856e83 + 1063fa5 commit 04172a4

1,153 files changed

Lines changed: 49608 additions & 10899 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 51 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,69 @@ assignees: ''
77

88
---
99

10-
** Please make sure you read the contribution guide and file the issues in the right place. **
11-
[Contribution guide.](https://google.github.io/adk-docs/contributing-guide/)
10+
## 🔴 Required Information
11+
*Please ensure all items in this section are completed to allow for efficient
12+
triaging. Requests without complete information may be rejected / deprioritized.
13+
If an item is not applicable to you - please mark it as N/A*
1214

13-
**Describe the bug**
15+
**Describe the Bug:**
1416
A clear and concise description of what the bug is.
1517

16-
**To Reproduce**
17-
Please share a minimal code and data to reproduce your problem.
18-
Steps to reproduce the behavior:
18+
**Steps to Reproduce:**
19+
Please provide a numbered list of steps to reproduce the behavior:
1920
1. Install '...'
2021
2. Run '....'
2122
3. Open '....'
2223
4. Provide error or stacktrace
2324

24-
**Expected behavior**
25+
**Expected Behavior:**
2526
A clear and concise description of what you expected to happen.
2627

27-
**Screenshots**
28-
If applicable, add screenshots to help explain your problem.
28+
**Observed Behavior:**
29+
What actually happened? Include error messages or crash stack traces here.
2930

30-
**Desktop (please complete the following information):**
31-
- OS: [e.g. macOS, Linux, Windows]
32-
- Python version(python -V):
33-
- ADK version(pip show google-adk):
31+
**Environment Details:**
32+
33+
- ADK Library Version (pip show google-adk):
34+
- Desktop OS:** [e.g., macOS, Linux, Windows]
35+
- Python Version (python -V):
36+
37+
**Model Information:**
3438

35-
**Model Information:**
3639
- Are you using LiteLLM: Yes/No
37-
- Which model is being used(e.g. gemini-2.5-pro)
40+
- Which model is being used: (e.g., gemini-2.5-pro)
41+
42+
---
43+
44+
## 🟡 Optional Information
45+
*Providing this information greatly speeds up the resolution process.*
46+
47+
**Regression:**
48+
Did this work in a previous version of ADK? If so, which one?
3849

39-
**Additional context**
50+
**Logs:**
51+
Please attach relevant logs. Wrap them in code blocks (```) or attach a
52+
text file.
53+
```text
54+
// Paste logs here
55+
```
56+
57+
**Screenshots / Video:**
58+
If applicable, add screenshots or screen recordings to help explain
59+
your problem.
60+
61+
**Additional Context:**
4062
Add any other context about the problem here.
63+
64+
**Minimal Reproduction Code:**
65+
Please provide a code snippet or a link to a Gist/repo that isolates the issue.
66+
```python
67+
// Code snippet here
68+
```
69+
70+
**How often has this issue occurred?:**
71+
72+
- Always (100%)
73+
- Often (50%+)
74+
- Intermittently (<50%)
75+
- Once / Rare

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,39 @@ assignees: ''
1010
** Please make sure you read the contribution guide and file the issues in the right place. **
1111
[Contribution guide.](https://google.github.io/adk-docs/contributing-guide/)
1212

13-
**Is your feature request related to a problem? Please describe.**
14-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
## 🔴 Required Information
14+
*Please ensure all items in this section are completed to allow for efficient
15+
triaging. Requests without complete information may be rejected / deprioritized.
16+
If an item is not applicable to you - please mark it as N/A*
1517

16-
**Describe the solution you'd like**
17-
A clear and concise description of what you want to happen.
18+
### Is your feature request related to a specific problem?
19+
Please describe the problem you are trying to solve. (Ex: "I'm always frustrated
20+
when I have to manually handle X...")
1821

19-
**Describe alternatives you've considered**
20-
A clear and concise description of any alternative solutions or features you've considered.
22+
### Describe the Solution You'd Like
23+
A clear and concise description of the feature or API change you want.
24+
Be specific about input/outputs if this involves an API change.
2125

22-
**Additional context**
23-
Add any other context or screenshots about the feature request here.
26+
### Impact on your work
27+
How does this feature impact your work and what are you trying to achieve?
28+
If this is critical for you, tell us if there is a timeline by when you need
29+
this feature.
30+
31+
### Willingness to contribute
32+
Are you interested in implementing this feature yourself or submitting a PR?
33+
(Yes/No)
34+
35+
---
36+
37+
## 🟡 Recommended Information
38+
39+
### Describe Alternatives You've Considered
40+
A clear and concise description of any alternative solutions or workarounds
41+
you've considered and why they didn't work for you.
42+
43+
### Proposed API / Implementation
44+
If you have ideas on how this should look in code, please share a
45+
pseudo-code example.
46+
47+
### Additional Context
48+
Add any other context or screenshots about the feature request here.

.github/workflows/analyze-releases-for-adk-docs-updates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020

2121
- name: Set up Python
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: '3.11'
2525

.github/workflows/check-file-contents.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Google LLC
1+
# Copyright 2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout Code
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2828
with:
2929
fetch-depth: 2
3030

@@ -96,7 +96,7 @@ jobs:
9696
echo ""
9797
9898
set +e
99-
FILES_WITH_FORBIDDEN_IMPORT=$(grep -lE '^from.*cli.*import.*$' $CHANGED_FILES)
99+
FILES_WITH_FORBIDDEN_IMPORT=$(grep -lE '^from.*\bcli\b.*import.*$' $CHANGED_FILES)
100100
GREP_EXIT_CODE=$?
101101
set -e
102102

.github/workflows/copybara-pr-handler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Check for Copybara commits and close PRs
28-
uses: actions/github-script@v7
28+
uses: actions/github-script@v8
2929
with:
3030
github-token: ${{ secrets.ADK_TRIAGE_AGENT }}
3131
script: |

.github/workflows/discussion_answering.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Set up Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: '3.11'
2424

2525
- name: Authenticate to Google Cloud
2626
id: auth
27-
uses: 'google-github-actions/auth@v2'
27+
uses: 'google-github-actions/auth@v3'
2828
with:
2929
credentials_json: '${{ secrets.ADK_GCP_SA_KEY }}'
3030

.github/workflows/isort.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Google LLC
1+
# Copyright 2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -26,12 +26,12 @@ jobs:
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 2
3232

3333
- name: Set up Python
34-
uses: actions/setup-python@v5
34+
uses: actions/setup-python@v6
3535
with:
3636
python-version: '3.x'
3737

.github/workflows/pr-triage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424

2525
- name: Set up Python
26-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: '3.11'
2929

.github/workflows/pyink.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Google LLC
1+
# Copyright 2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -26,12 +26,12 @@ jobs:
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 2
3232

3333
- name: Set up Python
34-
uses: actions/setup-python@v5
34+
uses: actions/setup-python@v6
3535
with:
3636
python-version: '3.x'
3737

.github/workflows/python-unit-tests.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Google LLC
1+
# Copyright 2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -25,14 +25,14 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
28+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2929

3030
steps:
3131
- name: Checkout code
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v6
3333

3434
- name: Set up Python ${{ matrix.python-version }}
35-
uses: actions/setup-python@v5
35+
uses: actions/setup-python@v6
3636
with:
3737
python-version: ${{ matrix.python-version }}
3838

@@ -48,14 +48,6 @@ jobs:
4848
- name: Run unit tests with pytest
4949
run: |
5050
source .venv/bin/activate
51-
if [[ "${{ matrix.python-version }}" == "3.9" ]]; then
52-
pytest tests/unittests \
53-
--ignore=tests/unittests/a2a \
54-
--ignore=tests/unittests/tools/mcp_tool \
55-
--ignore=tests/unittests/artifacts/test_artifact_service.py \
56-
--ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py
57-
else
58-
pytest tests/unittests \
59-
--ignore=tests/unittests/artifacts/test_artifact_service.py \
60-
--ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py
61-
fi
51+
pytest tests/unittests \
52+
--ignore=tests/unittests/artifacts/test_artifact_service.py \
53+
--ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py

0 commit comments

Comments
 (0)