docs(examples/travel): fix broken search.py link in hook README (#6734)

The lib/hooks/README.md in the travel example links to
../../agent/travel/search.py, but the file is at
xamples/v1/travel/agent/src/search.py. Fix the relative path to
../../agent/src/search.py.
This commit is contained in:
Ben Taylor
2026-08-28 22:31:35 -05:00
committed by GitHub
+1 -1
View File
@@ -14,7 +14,7 @@ For more information on how to use `useCoAgent`, check out the [reading](https:/
This hook allows us to render state from the CoAgent in a custom way. In this example, we're rendering `search_progress` which is emitted to us from the CoAgent as it conducts a search for places.
In order for this to work, we need to have the CoAgent emit the `search_progress` state, which you can see being done in [agent/travel/search.py](../../../agent/travel/search.py).
In order for this to work, we need to have the CoAgent emit the `search_progress` state, which you can see being done in [agent/travel/search.py](../../agent/src/search.py).
```python
# ...