Skip to content

Commit

Permalink
test(examples): update setup
Browse files Browse the repository at this point in the history
Ref: #62
Signed-off-by: Tomas Dvorak <[email protected]>
  • Loading branch information
Tomas2D committed Oct 24, 2024
1 parent a52fa86 commit dae83bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ import { FileCache } from "bee-agent-framework/cache/fileCache";
import * as os from "node:os";

const cache = new FileCache({
fullPath: `${os.tmpdir()}/bee_file_cache.json`,
fullPath: `${os.tmpdir()}/bee_file_cache_${Date.now()}.json`,
});
console.log(`Saving cache to "${cache.source}"`);
await cache.set("abc", { firstName: "John", lastName: "Doe" });
Expand Down

0 comments on commit dae83bf

Please sign in to comment.