Skip to content

Commit a09a5e6

Browse files
xuanyang15copybara-github
authored andcommitted
chore: add the missing env variables in discussion_answering.yml
PiperOrigin-RevId: 794285985
1 parent 7e08808 commit a09a5e6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/discussion_answering.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ jobs:
3232
- name: Run Answering Script
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.ADK_TRIAGE_AGENT }}
35+
ADK_GCP_SA_KEY: ${{ secrets.ADK_GCP_SA_KEY }}
3536
GOOGLE_CLOUD_PROJECT: ${{ secrets.GOOGLE_CLOUD_PROJECT }}
3637
GOOGLE_CLOUD_LOCATION: ${{ secrets.GOOGLE_CLOUD_LOCATION }}
3738
VERTEXAI_DATASTORE_ID: ${{ secrets.VERTEXAI_DATASTORE_ID }}
39+
GEMINI_API_DATASTORE_ID: ${{ secrets.GEMINI_API_DATASTORE_ID }}
3840
GOOGLE_GENAI_USE_VERTEXAI: 1
3941
OWNER: 'google'
4042
REPO: 'adk-python'

contributing/samples/adk_answering_agent/main.py

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

1515
import asyncio
16+
import logging
1617
import time
1718

1819
from adk_answering_agent import agent
@@ -21,11 +22,14 @@
2122
from adk_answering_agent.settings import REPO
2223
from adk_answering_agent.utils import call_agent_async
2324
from adk_answering_agent.utils import parse_number_string
25+
from google.adk.cli.utils import logs
2426
from google.adk.runners import InMemoryRunner
2527

2628
APP_NAME = "adk_answering_app"
2729
USER_ID = "adk_answering_user"
2830

31+
logs.setup_adk_logger(level=logging.DEBUG)
32+
2933

3034
async def main():
3135
runner = InMemoryRunner(

0 commit comments

Comments
 (0)