Files
City10/.env.example
T
marcocosta10000 81be63b4c3 feat(ai): add per-character AI model assignment and identity profiles
Implements deterministic model resolution (column → env map → pool →
default) and adds AI identity fields to characters. Migration backfills
existing rows with deterministic defaults. Controller uses resolved model
and identity block in system prompts for contextual conversations.
2026-10-31 18:35:57 -03:00

77 lines
1.7 KiB
Bash
Executable File

APP_NAME=City10
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost:16980
APP_LOCALE=pt_BR
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=pt_BR
APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database
# PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mariadb
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database
# CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS="no-reply@syspanel.com.br"
MAIL_FROM_NAME="${APP_NAME}"
# OpenRouter.ai — keep the key in .env only, never commit it.
OPENROUTER_API_KEY=
AI_DEFAULT_MODEL=deepseek/deepseek-v4-flash-0731
# AI_MODELS: pool of allow-listed free OpenRouter models distributed
# deterministically across characters (each character keeps its own model).
AI_MODELS=deepseek/deepseek-v4-flash-0731,nvidia/nemotron-3.5-lightning:free,liquid/lfm-2.5-2.6b:free,openrouter/free,nvidia/nemotron-3-ultra-550b-a55b:free
# AI_CHARACTER_MODELS: per-character override "name or id=model" (comma
# separated), e.g. Maria=liquid/lfm-2.5-2.6b:free,7=openrouter/free
AI_CHARACTER_MODELS=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
VITE_APP_NAME="${APP_NAME}"