Files
edgeever/migrations/0051_companion_agent_session.sql
T
tianma-if f5e9bc1a44 feat(ai): call model APIs from the client instead of the worker
Keep Cloudflare requests short for Agent, tag suggestions, plugin generate, and Paw checks. The instance only prepares credentials and executes tools; CORS failures still fall back to the existing proxy.
2026-09-16 22:45:07 +08:00

3 lines
167 B
SQL

-- Client-driven agent loops persist tool-session guards across short HTTP hops.
ALTER TABLE companion_turns ADD COLUMN agent_session_json TEXT NOT NULL DEFAULT '{}';