Skip to content

Commit 1099c8f

Browse files
committed
docs: Remove unnecessary config flag from README and update docker-compose entrypoint
Re-use the same config for all calls. Signed-off-by: Eden Reich <eden.reich@gmail.com>
1 parent ee18e03 commit 1099c8f

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

example/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ docker compose up -d
1313
2. **Test the connection:**
1414

1515
```bash
16-
docker compose run --rm a2a-debugger connect --config /config/.a2a.yaml
16+
docker compose run --rm a2a-debugger connect
1717
```
1818

1919
3. **List available tasks:**
2020

2121
```bash
22-
docker compose run --rm a2a-debugger tasks list --config /config/.a2a.yaml
22+
docker compose run --rm a2a-debugger tasks list
2323
```
2424

2525
## 🔧 Available Commands
@@ -28,39 +28,39 @@ docker compose run --rm a2a-debugger tasks list --config /config/.a2a.yaml
2828

2929
```bash
3030
# Test connection to the A2A server and display agent information
31-
docker compose run --rm a2a-debugger connect --config /config/.a2a.yaml
31+
docker compose run --rm a2a-debugger connect
3232

3333
# Get detailed agent card information in JSON format
34-
docker compose run --rm a2a-debugger agent-card --config /config/.a2a.yaml
34+
docker compose run --rm a2a-debugger agent-card
3535
```
3636

3737
### Task Management
3838

3939
```bash
4040
# List all tasks
41-
docker compose run --rm a2a-debugger tasks list --config /config/.a2a.yaml
41+
docker compose run --rm a2a-debugger tasks list
4242

4343
# List tasks with filtering
44-
docker compose run --rm a2a-debugger tasks list --state working --limit 10 --config /config/.a2a.yaml
44+
docker compose run --rm a2a-debugger tasks list --state working --limit 10
4545

4646
# Get detailed information about a specific task
47-
docker compose run --rm a2a-debugger tasks get <task-id> --config /config/.a2a.yaml
47+
docker compose run --rm a2a-debugger tasks get <task-id>
4848

4949
# View conversation history for a context
50-
docker compose run --rm a2a-debugger tasks history <context-id> --config /config/.a2a.yaml
50+
docker compose run --rm a2a-debugger tasks history <context-id>
5151
```
5252

5353
### Configuration Management
5454

5555
```bash
5656
# Set configuration values
57-
docker compose run --rm a2a-debugger config set server-url http://a2a-server:8080 --config /config/.a2a.yaml
57+
docker compose run --rm a2a-debugger config set server-url http://a2a-server:8080
5858

5959
# Get configuration values
60-
docker compose run --rm a2a-debugger config get server-url --config /config/.a2a.yaml
60+
docker compose run --rm a2a-debugger config get server-url
6161

6262
# List all configuration
63-
docker compose run --rm a2a-debugger config list --config /config/.a2a.yaml
63+
docker compose run --rm a2a-debugger config list
6464
```
6565

6666
### Utility Commands

example/docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ services:
1010
a2a-debugger:
1111
image: ghcr.io/inference-gateway/a2a-debugger:latest
1212
pull_policy: always
13-
command:
13+
entrypoint:
14+
- /a2a
1415
- --config
1516
- /config/.a2a.yaml
17+
command:
1618
- config
1719
- set
1820
- server-url

0 commit comments

Comments
 (0)