Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/python_samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ jobs:
working-directory: samples/agent/adk
run: uv run pyink --check .

- name: Validate Sample Examples
run: |
PYTHONPATH=agent_sdks/python/src uv run --project agent_sdks/python pytest -vv samples/agent/adk/tests/test_examples_validation.py

- name: Build contact_lookup
working-directory: samples/agent/adk/contact_lookup
run: uv build .
Expand Down
10 changes: 3 additions & 7 deletions samples/agent/adk/contact_lookup/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from google.genai import types
from prompt_builder import get_text_prompt, ROLE_DESCRIPTION, WORKFLOW_DESCRIPTION, UI_DESCRIPTION
from tools import get_contact_info
from a2ui.core.schema.constants import VERSION_0_9
from a2ui.core.schema.constants import VERSION_0_8
from a2ui.core.schema.manager import A2uiSchemaManager
from a2ui.basic_catalog.provider import BasicCatalog
from a2ui.a2a import get_a2ui_agent_extension
Expand All @@ -48,15 +48,11 @@ class ContactAgent:
def __init__(self, base_url: str, use_ui: bool = False):
self.base_url = base_url
self.use_ui = use_ui
self.version = VERSION_0_9
self._schema_manager = (
A2uiSchemaManager(
version=self.version,
version=VERSION_0_8,
catalogs=[
BasicCatalog.get_config(
version=self.version,
examples_path=f"examples/{self.version}",
)
BasicCatalog.get_config(version=VERSION_0_8, examples_path="examples")
],
)
if use_ui
Expand Down

This file was deleted.

Loading
Loading