Mastodon Politics, Power, and Science: Finished the versioning changes to the framework to support deletion of agent versions.

Monday, August 18, 2025

Finished the versioning changes to the framework to support deletion of agent versions.

https://github.com/BuckRogers1965/AIAgentWorkflow/releases/tag/v2025.08.18.1539

Today's changes were minor, targeted modifications to three files to implement a single feature: version-aware agent deletion.

Here is the breakdown:

1. editor/ui_app_shell.py:

  • A new method delete_specific_agent_version was added to handle the deletion logic for a single, specific agent version.
  • The old delete_agent method (which deleted all versions of an agent) was identified as orphaned after the UI change.
  • The UI code for the old delete button in the agent list was removed from the refresh_agent_list method.

2. editor/ui_editors.py:

  • The new "Delete This Agent Version" button was added to the settings tab for ProcEditorFrame and TemplateEditorFrame.

3. editor/workflow_editor.py:

  • The new "Delete This Agent Version" button was added to the settings tab for WorkflowEditorFrame.

The result is a more intuitive and safer deletion process that operates from within the context of the specific version being edited, preventing the accidental deletion of agent versions that are in use.


No comments:

Post a Comment

Progress on the campaign manager

You can see that you can build tactical maps automatically from the world map data.  You can place roads, streams, buildings. The framework ...