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.
This commit is contained in:
@@ -60,6 +60,13 @@ MAIL_FROM_NAME="${APP_NAME}"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user