[Bug]: a2a.proto and specification divergence on subscribeToTask
- 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.