Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
feat(toolkit): log AI provider/model on run creation
Adam Eivy81de7d3d431e
diff --git a/.changelog/v0.12.x.md b/.changelog/v0.12.x.mdindex f4affc346a..66f1f895e0 100644--- a/.changelog/v0.12.x.md+++ b/.changelog/v0.12.x.md@@ -187,6 +187,12 @@ This release adds branch management and automated release workflow capabilities- **Fix**: `server/services/runner.js` was accessing `aiToolkitInstance.config.dataDir` and `aiToolkitInstance.config.hooks`, but the AI Toolkit object returned by `createAIToolkit()` has no `.config` property (config is internal to service closures). This caused a `TypeError: Cannot read properties of undefined (reading 'dataDir')` whenever the PortOS runner shim's `executeCliRun` was invoked.- **Solution**: Pass `dataDir` and `hooks` explicitly to the runner shim via `setAIToolkit(toolkit, config)` and store them in a local `runnerConfig` variable+### AI Toolkit — Provider/Model Logging on Run Creation+- **Run creation log**: The AI toolkit now logs the provider name and model at the start of every AI run (e.g., `🤖 AI run [agent-content-post]: LM Studio/openai/gpt-oss-20b`), making it easy to trace which provider handled each generation in server logs++**Toolkit changes**:+- `portos-ai-toolkit/src/server/runner.js` — Added `console.log` in `createRun()` after provider resolution+## Improvements### CoS — Learning Health Summary on Dashboarddiff --git a/server/package.json b/server/package.jsonindex 08c2f181e0..bcc9dd5ec3 100644--- a/server/package.json+++ b/server/package.json@@ -15,7 +15,7 @@"express": "^4.21.2","node-pty": "^1.2.0-beta.10","pm2": "^5.4.3",- "portos-ai-toolkit": "github:atomantic/portos-ai-toolkit#v0.2.0",+ "portos-ai-toolkit": "github:atomantic/portos-ai-toolkit#v0.4.1","socket.io": "^4.8.3","socket.io-client": "^4.8.3","uuid": "^11.0.3",