agent-protocol icon indicating copy to clipboard operation
agent-protocol copied to clipboard

feat: add db update function in py sdk

Open Undertone0809 opened this issue 3 months ago • 1 comments

Pull Request

Description

  • Add TaskDB update statement of Step, Task and Artifact for python sdk.
  • Add update functions implementation for InMemoryTaskDB.
  • Fix: When we run execute_agent_task_step, step need to be updated in DB.

Checklist

Please review and check the following items to ensure your pull request can be processed smoothly:

  • [x] My code adheres to the project's coding standards and style guidelines.

  • [x] I have tested my changes thoroughly, including unit tests where applicable.

  • [ ] I have updated the documentation to reflect any changes made in this pull request.

  • [x] My branch is up-to-date with the latest changes from the main branch.

  • [ ] I have received code review feedback and addressed any comments or concerns.

Additional Notes

If there are any additional details or considerations that reviewers should be aware of, please provide them here.

References, Fixes and Closes

List any other pull requests or issues that this pull request references, fixes, or closes, if applicable.

  • References #related_issue_number
  • Fixes #related_issue_number
  • Closes #related_issue_number

Undertone0809 avatar Mar 25 '24 08:03 Undertone0809