a2aproject / a2aproject/A2A

[Bug]: a2a.proto and specification divergence on subscribeToTask

Aperta
#1,574 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
triaged TSC Review
Lingua principale
Shell
Stelle
25.7k
Fork
2.6k
Merge medio
3g 6h
PR unite (30g)
16

Descrizione

### What happened?

According to a2a.proto: subsribeToTask is a GET
`/ Subscribes to task updates for tasks not in a terminal state.
  // Returns `UnsupportedOperationError` if the task is already in a terminal state (completed, failed, canceled, rejected).
  rpc SubscribeToTask(SubscribeToTaskRequest) returns (stream StreamResponse) {
    option (google.api.http) = {
      get: "/tasks/{id=*}:subscribe"
      additional_bindings: {
        get: "/{tenant}/tasks/{id=*}:subscribe"
      }
    };
  }`
but in the specifications (https://a2a-protocol.org/latest/specification/#1132-task-operations) it is a POST.
We should clarify this

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.