Integrate Ollama for heartbeats and routine tasks - local LLM for zero cost

This commit is contained in:
Jarvis
2026-02-05 10:29:35 -07:00
parent 6d30ab62d1
commit dc40242efc
5 changed files with 109 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
{
"agent:main:main": {
"sessionId": "bd8ce668-8db7-49eb-8dfa-67aac370286a",
"updatedAt": 1770305840548,
"updatedAt": 1770312555587,
"systemSent": true,
"abortedLastRun": false,
"chatType": "direct",
@@ -78,15 +78,15 @@
"authProfileOverrideSource": "auto",
"authProfileOverrideCompactionCount": 0,
"modelProvider": "anthropic",
"model": "claude-sonnet-4-5",
"contextTokens": 1000000,
"model": "claude-haiku-4-5",
"contextTokens": 200000,
"systemPromptReport": {
"source": "run",
"generatedAt": 1770305797277,
"generatedAt": 1770312467960,
"sessionId": "bd8ce668-8db7-49eb-8dfa-67aac370286a",
"sessionKey": "agent:main:main",
"provider": "anthropic",
"model": "claude-sonnet-4-5",
"model": "claude-haiku-4-5",
"workspaceDir": "/home/jramos/.openclaw/workspace",
"bootstrapMaxChars": 20000,
"sandbox": {
@@ -94,9 +94,9 @@
"sandboxed": false
},
"systemPrompt": {
"chars": 21966,
"projectContextChars": 11836,
"nonProjectContextChars": 10130
"chars": 22183,
"projectContextChars": 12029,
"nonProjectContextChars": 10154
},
"injectedWorkspaceFiles": [
{
@@ -111,8 +111,8 @@
"name": "SOUL.md",
"path": "/home/jramos/.openclaw/workspace/SOUL.md",
"missing": false,
"rawChars": 1664,
"injectedChars": 1664,
"rawChars": 1857,
"injectedChars": 1857,
"truncated": false
},
{
@@ -324,8 +324,8 @@
},
"lastTo": "channel:1468718506835972127",
"lastAccountId": "default",
"inputTokens": 10,
"outputTokens": 572,
"totalTokens": 42201
"inputTokens": 13,
"outputTokens": 391,
"totalTokens": 57505
}
}