• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microsoft / teams-ai / 8144481306

04 Mar 2024 05:30PM UTC coverage: 80.205% (-0.3%) from 80.485%
8144481306

push

github

web-flow
[PY] fix: Turn State (#1364)

## Linked issues

#minor

## Details

- reimplement turn state to satisfy requirements while supporting
customization.
- ensure state if fully serializable for easy of use
- ensure state supports new state properties other than "conversation,
user, temp" via `@state` decorator

### Custom State


![image](https://github.com/microsoft/teams-ai/assets/44811138/6396f500-9d07-405b-b6e9-be6a3a81ddfe)

### Turn State Factory


![image](https://github.com/microsoft/teams-ai/assets/44811138/35f72bdf-1954-48b9-8360-c3341dc5c26f)

### Serialization


![image](https://github.com/microsoft/teams-ai/assets/44811138/346da2d2-3b32-426a-9a18-59716e1a4213)

![image](https://github.com/microsoft/teams-ai/assets/44811138/748ae165-1900-45af-a581-21485618234b)

2632 of 3775 branches covered (69.72%)

Branch coverage included in aggregate %.

267 of 332 new or added lines in 40 files covered. (80.42%)

3 existing lines in 3 files now uncovered.

9337 of 11148 relevant lines covered (83.75%)

18.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.32
/python/packages/ai/teams/state/state.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc