rename: poc-agent → agent, poc-daemon → thalamus
The thalamus: sensory relay, always-on routing. Perfect name for the daemon that bridges IRC, Telegram, and the agent. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
998b71e52c
commit
cfed85bd20
105 changed files with 0 additions and 0 deletions
26
agent/tests/raw_test.sh
Executable file
26
agent/tests/raw_test.sh
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#!/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 '.'
|
||||
Loading…
Add table
Add a link
Reference in a new issue