Login flow

This commit is contained in:
Illia Polosukhin
2026-02-03 09:20:26 -08:00
parent dedda9c51d
commit 2df4a4f5f0
9 changed files with 737 additions and 20 deletions
+5 -2
View File
@@ -4,9 +4,12 @@ DATABASE_POOL_SIZE=10
# LLM Provider (NEAR AI)
# NEAR AI provides a unified interface to all models with user authentication
NEARAI_SESSION_TOKEN=sess_...
# Session token is stored in ~/.near-agent/session.json and managed automatically.
# On first run, the agent will open a browser for OAuth authentication.
NEARAI_MODEL=claude-3-5-sonnet-20241022
NEARAI_BASE_URL=https://private.near.ai
NEARAI_BASE_URL=https://api.near.ai
NEARAI_AUTH_URL=https://private.near.ai
# NEARAI_SESSION_PATH=~/.near-agent/session.json # optional, default shown
# Channel Configuration
# CLI is always enabled