[Feat]: Add excludeArtifacts bool to GetTask request
- Lingua principale
- Shell
- Stelle
- 25.7k
- Fork
- 2.6k
- Merge medio
- 3g 6h
- PR unite (30g)
- 16
Descrizione
### Is your feature request related to a problem? Please describe.
`SendMessage` supports `returnImmediately` flag where clients not using push notifications are supposed to poll the task status. `GetTask` can make the server omit history (historyLength: 0), but there's no way to make a lightweight status fetch with artifacts omitted.
### Describe the solution you'd like
Extend `GetTask` request with `excludeArtifacts` bool.
### Describe alternatives you've considered
`includeArtifacts` for symmetry with `ListTasks`. Would need to have a bad default of `true` for making it a non-breaking change.
### Additional context
_No response_
### 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.