Conversation
…sing exceptions and add tests
Co-authored-by: KavyaSree2610 <92566732+KavyaSree2610@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #120 +/- ##
==========================================
+ Coverage 95.88% 96.22% +0.33%
==========================================
Files 26 28 +2
Lines 1046 1219 +173
==========================================
+ Hits 1003 1173 +170
- Misses 43 46 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR introduces a provider-agnostic, file-backed “memory” tool to persist notes across agent steps, along with unit/integration tests and a small CI workflow trigger update.
Changes:
- Added
MemoryToolimplementingmemory view/create/str_replace/insert/delete/rename/clearwith a host filesystem-backed store under~/.microbots/memory(or a configured directory). - Added comprehensive unit tests for path resolution and subcommand behaviors, plus bot-level wiring/integration tests (mocked providers and a slow real integration).
- Enabled manual triggering for the Docker build/push workflow via
workflow_dispatch.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/microbots/tools/tool_definitions/memory_tool.py |
Implements the new host-backed MemoryTool and its command dispatch + path sandboxing. |
src/microbots/tools/tool_definitions/__init__.py |
Exposes MemoryTool from the tool_definitions package. |
test/tools/tool_definitions/test_memory_tool.py |
Adds unit coverage for path handling and each MemoryTool subcommand. |
test/bot/test_memory_tool_integration.py |
Adds MicroBot dispatch/wiring tests (mocked providers) and a slow end-to-end integration scenario. |
.github/workflows/dockerBuildPush.yml |
Allows manual workflow runs via workflow_dispatch. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…e subcommand handling
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…tion messages and update usage instructions
No description provided.