Refactor app state from dict to Pydantic model
Open
enhancement
- Dominant language
- Python
- Stars
- 26
- Forks
- 1
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 25
Description
### StatGPT Backend version
0.2.0
### What is the problem this feature will solve?
Current state is just a dynamic python dict, which is not reliable.
### What is the feature you are proposing to solve the problem?
* Refactor state to pydantic
* add computed property `any_tool_response_failed` to show whether some tools failed
### What alternatives have you considered?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.