mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-03-02 22:57:05 -05:00
[FEAT]: User Profile Custom Metadata Fields #2994
Labels
No labels
Desktop
Docker
Integration Request
Integration Request
OS: Linux
OS: Mobile
OS: Windows
UI/UX
blocked
bug
bug
core-team-only
documentation
duplicate
embed-widget
enhancement
feature request
github_actions
good first issue
investigating
needs info / can't replicate
possible bug
question
stage: specifications
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anything-llm#2994
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @troylar on GitHub (Nov 22, 2025).
What would you like to see?
Problem/Use Case:
Currently, AnythingLLM only provides two user-specific variables (
{user.name}and{user.bio}). For organizations and power users, there's often a need to pass additional user-specific context to the system prompt, such as:Proposed Solution:
Add the ability to define and store custom metadata fields on user profiles that can be referenced in system prompts using the existing variable syntax.
Implementation Ideas:
Admin Configuration: Add a "User Profile Fields" section in admin settings where admins can define custom fields:
User Profile UI: Extend the user profile page to display and edit these custom fields
Variable Access: Make these fields accessible in system prompts as
{user.field_name}, similar to existing{user.name}and{user.bio}Example Usage:
Benefits:
@bittoby commented on GitHub (Feb 18, 2026):
@timothycarambat @shatfield4 I'd like to contribute this! If it is needed, please let me know. I can do it perfectly, thank you