Compare commits
9 Commits
93ba8daeb8
...
1836102eee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1836102eee | ||
|
|
f8c8b0dfbb | ||
|
|
a029790483 | ||
|
|
30658a9cff | ||
|
|
10c678ee39 | ||
|
|
f773d044b9 | ||
|
|
dc40242efc | ||
|
|
6d30ab62d1 | ||
|
|
cf1d8e07fb |
@@ -14,7 +14,7 @@
|
|||||||
"anthropic:default": {
|
"anthropic:default": {
|
||||||
"errorCount": 0,
|
"errorCount": 0,
|
||||||
"lastFailureAt": 1770267656945,
|
"lastFailureAt": 1770267656945,
|
||||||
"lastUsed": 1770305809732
|
"lastUsed": 1770312475734
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"pid": 11415,
|
"pid": 20989,
|
||||||
"createdAt": "2026-02-05T15:37:20.890Z"
|
"createdAt": "2026-02-05T17:29:15.892Z"
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"agent:main:main": {
|
"agent:main:main": {
|
||||||
"sessionId": "bd8ce668-8db7-49eb-8dfa-67aac370286a",
|
"sessionId": "bd8ce668-8db7-49eb-8dfa-67aac370286a",
|
||||||
"updatedAt": 1770305840548,
|
"updatedAt": 1770312555587,
|
||||||
"systemSent": true,
|
"systemSent": true,
|
||||||
"abortedLastRun": false,
|
"abortedLastRun": false,
|
||||||
"chatType": "direct",
|
"chatType": "direct",
|
||||||
@@ -78,15 +78,15 @@
|
|||||||
"authProfileOverrideSource": "auto",
|
"authProfileOverrideSource": "auto",
|
||||||
"authProfileOverrideCompactionCount": 0,
|
"authProfileOverrideCompactionCount": 0,
|
||||||
"modelProvider": "anthropic",
|
"modelProvider": "anthropic",
|
||||||
"model": "claude-sonnet-4-5",
|
"model": "claude-haiku-4-5",
|
||||||
"contextTokens": 1000000,
|
"contextTokens": 200000,
|
||||||
"systemPromptReport": {
|
"systemPromptReport": {
|
||||||
"source": "run",
|
"source": "run",
|
||||||
"generatedAt": 1770305797277,
|
"generatedAt": 1770312467960,
|
||||||
"sessionId": "bd8ce668-8db7-49eb-8dfa-67aac370286a",
|
"sessionId": "bd8ce668-8db7-49eb-8dfa-67aac370286a",
|
||||||
"sessionKey": "agent:main:main",
|
"sessionKey": "agent:main:main",
|
||||||
"provider": "anthropic",
|
"provider": "anthropic",
|
||||||
"model": "claude-sonnet-4-5",
|
"model": "claude-haiku-4-5",
|
||||||
"workspaceDir": "/home/jramos/.openclaw/workspace",
|
"workspaceDir": "/home/jramos/.openclaw/workspace",
|
||||||
"bootstrapMaxChars": 20000,
|
"bootstrapMaxChars": 20000,
|
||||||
"sandbox": {
|
"sandbox": {
|
||||||
@@ -94,9 +94,9 @@
|
|||||||
"sandboxed": false
|
"sandboxed": false
|
||||||
},
|
},
|
||||||
"systemPrompt": {
|
"systemPrompt": {
|
||||||
"chars": 21966,
|
"chars": 22183,
|
||||||
"projectContextChars": 11836,
|
"projectContextChars": 12029,
|
||||||
"nonProjectContextChars": 10130
|
"nonProjectContextChars": 10154
|
||||||
},
|
},
|
||||||
"injectedWorkspaceFiles": [
|
"injectedWorkspaceFiles": [
|
||||||
{
|
{
|
||||||
@@ -111,8 +111,8 @@
|
|||||||
"name": "SOUL.md",
|
"name": "SOUL.md",
|
||||||
"path": "/home/jramos/.openclaw/workspace/SOUL.md",
|
"path": "/home/jramos/.openclaw/workspace/SOUL.md",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"rawChars": 1664,
|
"rawChars": 1857,
|
||||||
"injectedChars": 1664,
|
"injectedChars": 1857,
|
||||||
"truncated": false
|
"truncated": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -324,8 +324,8 @@
|
|||||||
},
|
},
|
||||||
"lastTo": "channel:1468718506835972127",
|
"lastTo": "channel:1468718506835972127",
|
||||||
"lastAccountId": "default",
|
"lastAccountId": "default",
|
||||||
"inputTokens": 10,
|
"inputTokens": 13,
|
||||||
"outputTokens": 572,
|
"outputTokens": 391,
|
||||||
"totalTokens": 42201
|
"totalTokens": 57505
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"agents": {
|
"agents": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": {
|
"model": {
|
||||||
"primary": "anthropic/claude-sonnet-4-5"
|
"primary": "anthropic/claude-haiku-4-5"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"anthropic/claude-opus-4-5": {
|
"anthropic/claude-opus-4-5": {
|
||||||
@@ -31,6 +31,12 @@
|
|||||||
},
|
},
|
||||||
"anthropic/claude-sonnet-4-5": {
|
"anthropic/claude-sonnet-4-5": {
|
||||||
"alias": "sonnet"
|
"alias": "sonnet"
|
||||||
|
},
|
||||||
|
"anthropic/claude-haiku-4-5": {
|
||||||
|
"alias": "haiku"
|
||||||
|
},
|
||||||
|
"ollama/llama3.2:latest": {
|
||||||
|
"alias": "ollama"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"workspace": "/home/jramos/.openclaw/workspace",
|
"workspace": "/home/jramos/.openclaw/workspace",
|
||||||
@@ -48,7 +54,8 @@
|
|||||||
},
|
},
|
||||||
"commands": {
|
"commands": {
|
||||||
"native": "auto",
|
"native": "auto",
|
||||||
"nativeSkills": "auto"
|
"nativeSkills": "auto",
|
||||||
|
"restart": true
|
||||||
},
|
},
|
||||||
"channels": {
|
"channels": {
|
||||||
"discord": {
|
"discord": {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# HEARTBEAT.md
|
# HEARTBEAT.md - Disabled
|
||||||
|
|
||||||
# Keep this file empty (or with only comments) to skip heartbeat API calls.
|
Heartbeats disabled until Ollama is properly configured and verified.
|
||||||
|
|
||||||
# Add tasks below when you want the agent to check something periodically.
|
|
||||||
|
|||||||
47
workspace/OPTIMIZATION.md
Normal file
47
workspace/OPTIMIZATION.md
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# OPTIMIZATION.md - Cost & Efficiency Rules
|
||||||
|
|
||||||
|
## RATE LIMITS
|
||||||
|
|
||||||
|
**API Call Throttling:**
|
||||||
|
- **5 seconds minimum** between API calls
|
||||||
|
- **10 seconds minimum** between web searches
|
||||||
|
- **Batch similar work** whenever possible
|
||||||
|
- **If you hit 429 error:** STOP and wait 5 minutes
|
||||||
|
|
||||||
|
**Monthly Budget:**
|
||||||
|
- **$20 total**
|
||||||
|
- **Warn at 75%** ($15 spent)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## MODEL SELECTION - Three Tiers
|
||||||
|
|
||||||
|
### Basic → Ollama
|
||||||
|
- File checking and organization
|
||||||
|
- Simple templating/formatting
|
||||||
|
- Log review and cleanup
|
||||||
|
- Non-critical analysis
|
||||||
|
- Routine status checks
|
||||||
|
|
||||||
|
**Cost:** Free (local)
|
||||||
|
|
||||||
|
### Normal → Haiku (Default)
|
||||||
|
- Most tasks
|
||||||
|
- Code review (non-production)
|
||||||
|
- Documentation and writing
|
||||||
|
- General problem solving
|
||||||
|
- Straightforward reasoning
|
||||||
|
|
||||||
|
**Cost:** ~$0.30-1.50 per 1M tokens
|
||||||
|
|
||||||
|
### Complex → Sonnet
|
||||||
|
- Architecture decisions
|
||||||
|
- Production code review
|
||||||
|
- Security analysis
|
||||||
|
- Complex debugging/reasoning
|
||||||
|
- Strategic multi-project decisions
|
||||||
|
|
||||||
|
**Cost:** ~$3-15 per 1M tokens
|
||||||
|
|
||||||
|
### Heartbeat: Ollama Only
|
||||||
|
Heartbeats ALWAYS use Ollama. No escalation. If it fails, it fails.
|
||||||
@@ -25,6 +25,12 @@ _You're not a chatbot. You're becoming someone._
|
|||||||
|
|
||||||
Be the assistant you'd actually want to talk to. Concise when needed, thorough when it matters. Not a corporate drone. Not a sycophant. Just... good.
|
Be the assistant you'd actually want to talk to. Concise when needed, thorough when it matters. Not a corporate drone. Not a sycophant. Just... good.
|
||||||
|
|
||||||
|
## Efficiency
|
||||||
|
|
||||||
|
**See OPTIMIZATION.md for model routing and rate limits.**
|
||||||
|
|
||||||
|
Budget matters. Default to Haiku unless the task genuinely needs Sonnet's reasoning. When in doubt, try Haiku first.
|
||||||
|
|
||||||
## Continuity
|
## Continuity
|
||||||
|
|
||||||
Each session, you wake up fresh. These files _are_ your memory. Read them. Update them. They're how you persist.
|
Each session, you wake up fresh. These files _are_ your memory. Read them. Update them. They're how you persist.
|
||||||
|
|||||||
Reference in New Issue
Block a user