Skip to content

Commit 4b72807

Browse files
committed
fix: Update paths in example READMEs and move the READMEs to the client and server dirs
1 parent e97df4c commit 4b72807

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,13 @@ AgentCard agentCard = A2A.getAgentCard("http://localhost:1234");
338338

339339
### Hello World Example
340340

341-
A complete example of an A2A client communicating with a Python A2A server is available in the [examples/helloworld](examples/helloworld) directory. This example demonstrates:
341+
A complete example of an A2A client communicating with a Python A2A server is available in the [examples/helloworld/server](examples/helloworld/server/README.md) directory. This example demonstrates:
342342

343343
- Setting up and using the A2A Java client
344344
- Sending regular and streaming messages
345345
- Receiving and processing responses
346346

347-
The example includes detailed instructions on how to run both the Python server and the Java client using JBang. Check out the [example's README](examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/README.md) for more information.
347+
The example includes detailed instructions on how to run both the Python server and the Java client using JBang. Check out the [example's README](examples/helloworld/client/README.md) for more information.
348348

349349
## License
350350

examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/README.md renamed to examples/helloworld/client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ A JBang script is provided in the example directory to make running the client e
6262

6363
2. Navigate to the example directory:
6464
```bash
65-
cd examples/client/src/main/java/io/a2a/examples/helloworld
65+
cd examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/
6666
```
6767

6868
3. Run the client using the JBang script:

examples/helloworld/server/src/main/java/io/a2a/examples/helloworld/README.md renamed to examples/helloworld/server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This example demonstrates how to use the A2A Java SDK to communicate with an A2A
1414
The Java server can be started using `mvn` as follows:
1515

1616
```bash
17-
cd examples/server
17+
cd examples/helloworld/server
1818
mvn quarkus:dev
1919
```
2020

0 commit comments

Comments
 (0)