diff options
Diffstat (limited to 'tools/demo_tool.js')
| -rw-r--r-- | tools/demo_tool.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/demo_tool.js b/tools/demo_tool.js index 4fd6f04..c8b7237 100644 --- a/tools/demo_tool.js +++ b/tools/demo_tool.js @@ -12,5 +12,13 @@ * @param {Args} args */ exports.run = function run(args) { - console.log(JSON.stringify(args, null, 2)); + for (const [key, value] of Object.entries(args)) { + console.log(`${key}: ${JSON.stringify(value)}`); + } + + for (const [key, value] of Object.entries(process.env)) { + if (key.startsWith("LLM_")) { + console.log(`${key}: ${value}`); + } + } } |
