File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
contributing/samples/adk_answering_agent Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 32
32
- name : Run Answering Script
33
33
env :
34
34
GITHUB_TOKEN : ${{ secrets.ADK_TRIAGE_AGENT }}
35
+ ADK_GCP_SA_KEY : ${{ secrets.ADK_GCP_SA_KEY }}
35
36
GOOGLE_CLOUD_PROJECT : ${{ secrets.GOOGLE_CLOUD_PROJECT }}
36
37
GOOGLE_CLOUD_LOCATION : ${{ secrets.GOOGLE_CLOUD_LOCATION }}
37
38
VERTEXAI_DATASTORE_ID : ${{ secrets.VERTEXAI_DATASTORE_ID }}
39
+ GEMINI_API_DATASTORE_ID : ${{ secrets.GEMINI_API_DATASTORE_ID }}
38
40
GOOGLE_GENAI_USE_VERTEXAI : 1
39
41
OWNER : ' google'
40
42
REPO : ' adk-python'
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
import asyncio
16
+ import logging
16
17
import time
17
18
18
19
from adk_answering_agent import agent
21
22
from adk_answering_agent .settings import REPO
22
23
from adk_answering_agent .utils import call_agent_async
23
24
from adk_answering_agent .utils import parse_number_string
25
+ from google .adk .cli .utils import logs
24
26
from google .adk .runners import InMemoryRunner
25
27
26
28
APP_NAME = "adk_answering_app"
27
29
USER_ID = "adk_answering_user"
28
30
31
+ logs .setup_adk_logger (level = logging .DEBUG )
32
+
29
33
30
34
async def main ():
31
35
runner = InMemoryRunner (
You can’t perform that action at this time.
0 commit comments