Skip to content

Commit 1eccff1

Browse files
committed
feat: add diagnostic logging for LLM client initialization in TruthForge
- Add detailed logging to track OPENROUTER_API_KEY presence - Log client creation success/failure for debugging - Auto-fix clippy warnings in terraphim_truthforge
1 parent bc580ef commit 1eccff1

55 files changed

Lines changed: 14321 additions & 384 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2025-10-07-this-session-is-being-continued-from-a-previous-co.txt

Lines changed: 789 additions & 0 deletions
Large diffs are not rendered by default.

Cargo.lock

Lines changed: 125 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
server_hostname = "127.0.0.1:8000"
2+
api_endpoint="http://localhost:8000/api"
3+
initialized = "${TERRAPHIM_INITIALIZED:-false}"
4+
default_data_path = "${TERRAPHIM_DATA_PATH:-${HOME}/.terraphim}"
5+
6+
# 3-tier non-locking storage configuration for local development
7+
# - Memory: Ultra-fast cache for hot data
8+
# - SQLite: Persistent storage with concurrent access (WAL mode)
9+
# - DashMap: Development fallback with file persistence
10+
11+
# Primary - Ultra-fast in-memory cache
12+
[profiles.memory]
13+
type = "memory"
14+
15+
# Secondary - Persistent with excellent concurrency (WAL mode)
16+
[profiles.sqlite]
17+
type = "sqlite"
18+
datadir = "/tmp/terraphim_sqlite" # Directory auto-created
19+
connection_string = "/tmp/terraphim_sqlite/terraphim.db"
20+
table = "terraphim_kv"
21+
22+
# Tertiary - Development fallback with concurrent access
23+
[profiles.dashmap]
24+
type = "dashmap"
25+
root = "/tmp/terraphim_dashmap" # Directory auto-created
26+
27+
# ReDB disabled for local development to avoid database locking issues
28+
# [profiles.redb]
29+
# type = "redb"
30+
# datadir = "/tmp/terraphim_redb/local_dev.redb"
31+
# table = "terraphim"

0 commit comments

Comments
 (0)