Files
llm-functions/agents/demo/tools.js
2024-07-09 21:17:12 +08:00

10 lines
188 B
JavaScript

const os = require("node:os");
/**
* Get the system info
*/
exports.get_sysinfo = function getSysinfo() {
return `OS: ${os.type()}
Arch: ${os.arch()}
User: ${process.env["USER"]}`
}