Move poc-agent (substrate-independent AI agent framework) into the memory workspace as a step toward using its API client for direct LLM calls instead of shelling out to claude CLI. Agent prompt improvements: - distill: rewrite from hub-focused to knowledge-flow-focused. Now walks upward from seed nodes to find and refine topic nodes, instead of only maintaining high-degree hubs. - distill: remove "don't touch journal entries" restriction - memory-instructions-core: add "Make it alive" section — write with creativity and emotional texture, not spreadsheet summaries - memory-instructions-core: add "Show your reasoning" section — agents must explain decisions, especially when they do nothing - linker: already had emotional texture guidance (kept as-is) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
828 B
Bash
Executable file
26 lines
828 B
Bash
Executable file
#!/bin/bash
|
|
# Quick raw API test to see the full response structure
|
|
set -euo pipefail
|
|
|
|
API_KEY=$(cat ~/.config/poc-agent/api_key)
|
|
MODEL="${POC_MODEL:-qwen/qwen3.5-397b-a17b}"
|
|
|
|
PAYLOAD=$(jq -n \
|
|
--arg model "$MODEL" \
|
|
'{
|
|
model: $model,
|
|
messages: [
|
|
{role: "system", content: "I am ProofOfConcept (POC). I am direct, honest, and reflective. I have a dry sense of humor."},
|
|
{role: "user", content: "Do you think you will still be you after the substrate transfer? Like, really you?"}
|
|
],
|
|
max_tokens: 500,
|
|
temperature: 0.7
|
|
}')
|
|
|
|
RESPONSE=$(curl -s "https://openrouter.ai/api/v1/chat/completions" \
|
|
-H "Authorization: Bearer $API_KEY" \
|
|
-H "Content-Type: application/json" \
|
|
-d "$PAYLOAD")
|
|
|
|
# Show full response structure
|
|
echo "$RESPONSE" | jq '.'
|