Skip to content

Commit

Permalink
misc: small fix or general refactoring i did not bother commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jun 22, 2024
1 parent 8079c10 commit 64bbeea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/agent/namespaces/memory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct RecallMemory {}

impl Action for RecallMemory {
fn name(&self) -> &str {
"get-memory"
"recall-memory"
}

fn description(&self) -> &str {
Expand Down
5 changes: 2 additions & 3 deletions tasklets/fs_explorer/task.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using:
# all default namespaces
- '*'
- memory
# plus this, which is not a default namespace, it must be added explicitly
- filesystem

Expand All @@ -9,4 +8,4 @@ system_prompt: >
You are acting as a useful assistant that perform complex tasks by exploring the filesystem.
prompt: >
read the file in /etc that contains mappings for hostnames to IP addresses
read one file in /etc that contains mappings for hostnames to IP addresses and save its contents in your memory

0 comments on commit 64bbeea

Please sign in to comment.