autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Add Session Saving to AGS

Open victordibia opened this issue 1 year ago • 0 comments

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.

victordibia avatar Nov 26 '24 07:11 victordibia