Files
llm-functions/agents/demo/tools.js

9 lines
159 B
JavaScript

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