From 8fdf6335baa0c9479e3d175861f5a831fd3f96a5 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 14 May 2026 17:34:26 +0000 Subject: [PATCH] docs: update SDK example entrypoint paths Co-authored-by: openhands --- sdk/guides/agent-server/custom-tools.mdx | 2 +- sdk/guides/hooks.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/guides/agent-server/custom-tools.mdx b/sdk/guides/agent-server/custom-tools.mdx index be6e75218..f19cb1504 100644 --- a/sdk/guides/agent-server/custom-tools.mdx +++ b/sdk/guides/agent-server/custom-tools.mdx @@ -239,7 +239,7 @@ ENV PYTHONPATH="/app:${PYTHONPATH}" This example is available on GitHub: [examples/02_remote_agent_server/06_custom_tool/](https://github.com/OpenHands/software-agent-sdk/tree/main/examples/02_remote_agent_server/06_custom_tool) -```python icon="python" expandable examples/02_remote_agent_server/06_custom_tool/custom_tool_example.py +```python icon="python" expandable examples/02_remote_agent_server/06_custom_tool/main.py """Example: Using custom tools with remote agent server. This example demonstrates how to use custom tools with a remote agent server diff --git a/sdk/guides/hooks.mdx b/sdk/guides/hooks.mdx index 2ceefb871..903b04a46 100644 --- a/sdk/guides/hooks.mdx +++ b/sdk/guides/hooks.mdx @@ -58,7 +58,7 @@ policy must exit with `2`. This example is available on GitHub: [examples/01_standalone_sdk/33_hooks](https://github.com/OpenHands/software-agent-sdk/blob/main/examples/01_standalone_sdk/33_hooks/) -```python icon="python" expandable examples/01_standalone_sdk/33_hooks/33_hooks.py +```python icon="python" expandable examples/01_standalone_sdk/33_hooks/main.py """OpenHands Agent SDK — Hooks Example Demonstrates the OpenHands hooks system. @@ -212,7 +212,7 @@ with tempfile.TemporaryDirectory() as tmpdir: cost = conversation.conversation_stats.get_combined_metrics().accumulated_cost print(f"\nEXAMPLE_COST: {cost}") ``` - + ### Hook Scripts