fix(agent): call api v1 via loopback instead of public url
CI / checks (push) Has been cancelled

Tool self-fetches were hairpinning to fam.ginnoir.com and failing,
so list_calendars/create_event returned 500 and the model gave up.
This commit is contained in:
ginnoir
2026-07-09 00:38:33 -05:00
parent 60eb101015
commit 3e8fe2d06d
4 changed files with 123 additions and 16 deletions
+2
View File
@@ -57,3 +57,5 @@ LLM_API_KEY=
LLM_MODEL=llama3.2
# IANA timezone for assistant relative dates ("Thursday at 2"). Falls back to TZ, then America/Chicago.
HOUSEHOLD_TIMEZONE=America/Chicago
# Optional override for agent tool → /api/v1 self-calls (defaults to http://127.0.0.1:$PORT).
# INTERNAL_API_BASE_URL=http://127.0.0.1:3000