mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-06-12 05:04:00 +03:00
* Fix system prompt variable color logic by removing unused variable type from switch statement and adding new types. * Add workspace id, name and user id as default system prompt variables * Combine user and workspace variable evaluations into a single if statment, reducing redundant code. * minor refactor * add systemPromptVariable expandSystemPromptVariables test cases --------- Co-authored-by: timothycarambat <rambat1010@gmail.com>