v0.0.70 - Add c_utils_lib category-based debug filtering with tests/docs and root API log tail shortcut script
This commit is contained in:
@@ -55,11 +55,11 @@ Skills support context modes (`inject`, `full`, `override`) and per-skill LLM fa
|
|||||||
|
|
||||||
Didactyl will support local inference, which is very privacy preserving. Remote inference does however have it's advantages, and in those cases Didactyl supports using Bitcoin Lightning and eCash inference providers.
|
Didactyl will support local inference, which is very privacy preserving. Remote inference does however have it's advantages, and in those cases Didactyl supports using Bitcoin Lightning and eCash inference providers.
|
||||||
|
|
||||||
## Current Status — v0.0.69
|
## Current Status — v0.0.70
|
||||||
|
|
||||||
**Active build — this project is barely working. Experiment at your own risk.**
|
**Active build — this project is barely working. Experiment at your own risk.**
|
||||||
|
|
||||||
> Last release update: v0.0.69 — Add startup skill to publish core docs as longform notes and switch admin announcement DMs to NIP-04
|
> Last release update: v0.0.70 — Add c_utils_lib category-based debug filtering with tests/docs and root API log tail shortcut script
|
||||||
|
|
||||||
- Connects to configured relays with auto-reconnect and relay state transition logging
|
- Connects to configured relays with auto-reconnect and relay state transition logging
|
||||||
- Publishes configured startup events per relay as each relay becomes connected
|
- Publishes configured startup events per relay as each relay becomes connected
|
||||||
|
|||||||
+2
-2
@@ -12,8 +12,8 @@
|
|||||||
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
|
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
|
||||||
#define DIDACTYL_VERSION_MAJOR 0
|
#define DIDACTYL_VERSION_MAJOR 0
|
||||||
#define DIDACTYL_VERSION_MINOR 0
|
#define DIDACTYL_VERSION_MINOR 0
|
||||||
#define DIDACTYL_VERSION_PATCH 69
|
#define DIDACTYL_VERSION_PATCH 70
|
||||||
#define DIDACTYL_VERSION "v0.0.69"
|
#define DIDACTYL_VERSION "v0.0.70"
|
||||||
|
|
||||||
// Agent metadata
|
// Agent metadata
|
||||||
#define DIDACTYL_NAME "Didactyl"
|
#define DIDACTYL_NAME "Didactyl"
|
||||||
|
|||||||
Executable
+28
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
LOG_FILE="${1:-}"
|
||||||
|
|
||||||
|
if [ -z "$LOG_FILE" ]; then
|
||||||
|
for candidate in "./didactyl.log" "./debug.log" "./context.log.md"; do
|
||||||
|
if [ -f "$candidate" ]; then
|
||||||
|
LOG_FILE="$candidate"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$LOG_FILE" ] || [ ! -f "$LOG_FILE" ]; then
|
||||||
|
echo "Log file not found." >&2
|
||||||
|
echo "Tried defaults: ./didactyl.log ./debug.log ./context.log.md" >&2
|
||||||
|
echo "Usage: $0 [path/to/logfile]" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Following API call logs from: $LOG_FILE"
|
||||||
|
echo "(Press Ctrl+C to stop)"
|
||||||
|
|
||||||
|
# Show request/response failure lines related to outbound LLM HTTP calls.
|
||||||
|
# These are emitted by Didactyl in src/llm.c via fprintf(stderr, ...).
|
||||||
|
tail -n 0 -F "$LOG_FILE" \
|
||||||
|
| stdbuf -oL grep -E --line-buffered "\\[didactyl\\] llm request:|\\[didactyl\\] llm http request failed:|\\[didactyl\\] llm error response:|\\[didactyl\\] llm partial response:|\\[didactyl\\] llm hint:"
|
||||||
Reference in New Issue
Block a user