refactor: several improvements (#132)
- js export expression - check args regarding run-agent/run-tool
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Get the system info
|
||||
*/
|
||||
exports.get_ipinfo = async function getIpinfo() {
|
||||
exports.get_ipinfo = async function () {
|
||||
const res = await fetch("https://httpbin.org/ip")
|
||||
return res.json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user