Skip to content

Commit ebd2f6c

Browse files
committed
build: Use SDK from Pypi instead
1 parent 04f6250 commit ebd2f6c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

examples/no-llm-framework/pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@ readme = "README.md"
66
authors = [{ name = "prem", email = "[email protected]" }]
77
requires-python = ">=3.13"
88
dependencies = [
9-
"a2a-sdk",
9+
"a2a-sdk>=0.2.3",
1010
"asyncclick>=8.1.8",
1111
"colorama>=0.4.6",
1212
"fastmcp>=2.3.4",
1313
"google-generativeai>=0.8.5",
1414
"jinja2>=3.1.6",
1515
"rich>=14.0.0",
1616
]
17-
18-
[tool.uv.sources]
19-
a2a-sdk = { git = "https://github.com/google/a2a-python" }
2017
[build-system]
2118
requires = ["hatchling"]
2219
build-backend = "hatchling.build"

examples/no-llm-framework/src/no_llm_framework/server/__main__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
from a2a.server.request_handlers.default_request_handler import (
66
DefaultRequestHandler,
77
)
8-
from a2a.server.tasks import InMemoryTaskStore
8+
from a2a.server.tasks.inmemory_task_store import InMemoryTaskStore
99
from a2a.types import (
10-
AgentAuthentication,
1110
AgentCapabilities,
1211
AgentCard,
1312
AgentSkill,
@@ -71,7 +70,7 @@ def main(host: str, port: int):
7170
streaming=True,
7271
),
7372
skills=[skill],
74-
authentication=AgentAuthentication(schemes=['public']),
73+
# authentication=AgentAuthentication(schemes=['public']),
7574
examples=['What is A2A protocol?', 'What is Google A2A?'],
7675
)
7776

examples/no-llm-framework/uv.lock

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)