refactor: several improvements (#132)
- js export expression - check args regarding run-agent/run-tool
This commit is contained in:
1 parent
c4ba6ff379
commit
d2a537c374
11 files changed
+52
-24
No files matched your search
@@ -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