— -> -
This commit is contained in:
parent
343185e208
commit
e2ed06a0f1
1 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# calc — Companion AI Logic Chatbot
|
||||
# calc - Companion AI Logic Chatbot
|
||||
|
||||
A single-file IRC bot in C. Features a key-value store backed by SQLite3, weather lookups via wttr.in, and AI-powered replies.
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ A single-file IRC bot in C. Features a key-value store backed by SQLite3, weathe
|
|||
- `libdl` (dynamic linker)
|
||||
- `libsqlite3` (loaded at runtime via `dlopen`)
|
||||
- `curl` (for weather lookups)
|
||||
- `opencode` (for AI queries — see `calc.c:229` to configure path)
|
||||
- `opencode` (for AI queries - see `calc.c:229` to configure path)
|
||||
|
||||
## Build
|
||||
|
||||
|
|
@ -90,8 +90,8 @@ make install PREFIX=$HOME/.local
|
|||
|
||||
Data is stored in `calc.db` (SQLite3) in the working directory. The bot creates two tables:
|
||||
|
||||
- `calc` — key-value pairs with nick and timestamp metadata
|
||||
- `ai_pending` — single-row table for managing in-flight AI queries
|
||||
- `calc` - key-value pairs with nick and timestamp metadata
|
||||
- `ai_pending` - single-row table for managing in-flight AI queries
|
||||
|
||||
## Architecture
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue