a2aproject / a2aproject/A2A

[Bug]: Inconsistent definition of TaskState

Ouverte
#1,408 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Shell
Étoiles
25.7k
Forks
2.6k
Merge moyen
3 j 6 h
PR mergées (30 j)
16

Description

### What happened?

In https://a2a-protocol.org/latest/specification/#413-taskstate, the `TaskState` enum is defined in all caps using the `TASK` suffix, which breaks compatibility with version 0.3.0.

However, the examples at https://a2a-protocol.org/latest/specification/#6-common-workflows-examples all show the state in the lower kebab case, just like it was in v0.3.0.

Either the `TaskState` or examples are wrong, please clarify which.

Thanks

### Relevant log output

```shell

```

### Code of Conduct

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.