autogen
autogen copied to clipboard
Add Session Saving to AGS
Refactor AGS such that runs within sessions are persisted and displayed. Also support combinaiton of termination conditions in declarative spec for teams.
"termination_condition": {
"component_type": "termination",
"termination_type": "CombinationTermination",
"operator": "or",
"conditions": [
{
"component_type": "termination",
"termination_type": "TextMentionTermination",
"text": "TERMINATE"
},
{
"component_type": "termination",
"termination_type": "MaxMessageTermination",
"max_messages": 1
}
]
}
This PR also add ruff lint, ruff check and pytests to pyproject.toml.
Why are these changes needed?
Related issue number
- [x] Closes #4325
- [x] Closes #4222
Checks
- [ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
- [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
- [ ] I've made sure all auto checks have passed.