Skip to content

Commit 1dfbe1f

Browse files
committed
fix: Adjust relative paths for specification JSON and agent SDK in samples.
1 parent bca0403 commit 1dfbe1f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

samples/agent/mcp/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ target-version = "py310"
4040
dev = ["pyright>=1.1.378", "pytest>=8.3.3", "ruff>=0.6.9"]
4141

4242
[tool.uv.sources]
43-
a2ui-agent = { path = "../../../../agent_sdks/python", editable = true }
43+
a2ui-agent = { path = "../../../agent_sdks/python", editable = true }
4444

samples/agent/mcp/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
def load_a2ui_schema() -> dict[str, Any]:
2929
current_dir = pathlib.Path(__file__).resolve().parent
30-
spec_root = current_dir / "../../../../specification/v0_8/json"
30+
spec_root = current_dir / "../../../specification/v0_8/json"
3131

3232
server_to_client_content = (spec_root / "server_to_client.json").read_text()
3333
server_to_client_json = json.loads(server_to_client_content)
@@ -46,7 +46,7 @@ def load_a2ui_schema() -> dict[str, Any]:
4646

4747
def load_a2ui_client_to_server_schema() -> dict[str, Any]:
4848
current_dir = pathlib.Path(__file__).resolve().parent
49-
spec_root = current_dir / "../../../../specification/v0_8/json"
49+
spec_root = current_dir / "../../../specification/v0_8/json"
5050

5151
client_to_server_content = (spec_root / "client_to_server.json").read_text()
5252
client_to_server_json = json.loads(client_to_server_content)

samples/agent/mcp/uv.lock

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

0 commit comments

Comments
 (0)