diff options
| author | sigoden <sigoden@gmail.com> | 2024-11-30 17:14:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-30 17:14:21 +0800 |
| commit | d2a537c3743963bfb6add44731dd3f3f6c785a2e (patch) | |
| tree | e499f1217135741622995ba253ad34ea9164f358 /agents/demo | |
| parent | c4ba6ff379bdce768f6053671309e2e2f4a6fc79 (diff) | |
| download | llm-functions-docker-d2a537c3743963bfb6add44731dd3f3f6c785a2e.tar.gz | |
refactor: several improvements (#132)
- js export expression
- check args regarding run-agent/run-tool
Diffstat (limited to 'agents/demo')
| -rw-r--r-- | agents/demo/tools.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agents/demo/tools.js b/agents/demo/tools.js index a3b141b..ee65097 100644 --- a/agents/demo/tools.js +++ b/agents/demo/tools.js @@ -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(); } |
