TalkingBot/chat-engine/.env.example

29 lines
989 B
Plaintext

CHAT_ENGINE_HOST=127.0.0.1
CHAT_ENGINE_PORT=3001
CHAT_ENGINE_TOKEN=
CHAT_ENGINE_TOKEN_PREVIOUS=
MODEL_FULL_CONTEXT=global.anthropic.claude-haiku-4-5-20251001-v1:0
MODEL_HYBRID=global.anthropic.claude-haiku-4-5-20251001-v1:0
MODEL_SUMMARIZE_HISTORY=global.anthropic.claude-haiku-4-5-20251001-v1:0
MODEL_JUDGE=global.anthropic.claude-haiku-4-5-20251001-v1:0
AUTO_FULL_CONTEXT_MAX_TOKENS=60000
AUTO_PREMIUM_PLANS=
AGENT_MAX_ITERATIONS=4
AGENT_MAX_TOOL_CALLS=6
AGENT_TURN_TIMEOUT_MS=120000
MAX_ANSWER_TOKENS_VOICE=220
MAX_ANSWER_TOKENS_CHAT=900
CACHE_TTL=5m
CACHE_KEEPALIVE=false
CACHE_KEEPALIVE_MAX=3
CACHE_MIN_TOKENS=4096
PERSONA=companion
HISTORY_VERBATIM_TURNS=6
HISTORY_TOKEN_BUDGET=3000
TOOL_RESULT_MAX_CHARS=4000
CHAPTER_RETURN_TOKEN_CAP=1500
RERANK_MODEL=
# USD per 1,000 tokens. Replace the zeros with the current Bedrock rates. Do not hardcode rates in source.
PRICE_TABLE_JSON={"global.anthropic.claude-haiku-4-5-20251001-v1:0":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0}}