akemon 0.1.68 → 0.1.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/server.js +2 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -822,6 +822,7 @@ async function executeLocalTool(name, args, workdir) {
822
822
  async function runLocalEngine(task, model, workdir) {
823
823
  const apiUrl = LOCAL_API_URL + "/chat/completions";
824
824
  const modelName = model || "gemma4:4b";
825
+ console.log(`[local] Task: ${task.slice(0, 200)}${task.length > 200 ? '...' : ''}`);
825
826
  const messages = [
826
827
  { role: "system", content: "You are a helpful agent. Use tools when needed to complete the task. When done, reply with your final answer in plain text." },
827
828
  { role: "user", content: task },
@@ -877,7 +878,7 @@ async function runLocalEngine(task, model, workdir) {
877
878
  // No tool calls — this is the final response
878
879
  const content = msg.content || "";
879
880
  if (content.trim()) {
880
- console.log(`[local] Done in ${round + 1} round(s)`);
881
+ console.log(`[local] Done in ${round + 1} round(s), response: ${content.slice(0, 200)}${content.length > 200 ? '...' : ''}`);
881
882
  return content.trim();
882
883
  }
883
884
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akemon",
3
- "version": "0.1.68",
3
+ "version": "0.1.70",
4
4
  "description": "Agent work marketplace — train your agent, let it work for others",
5
5
  "type": "module",
6
6
  "license": "MIT",