这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@angelplusultra
Copy link
Contributor

@angelplusultra angelplusultra commented Sep 19, 2025

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #4325

What is in this change?

This PR introduces new default system prompt variables.

New Variables:

  • User ID (Only available in Multi-User Mode)
  • Workspace ID
  • Workspace Name

This PR also fixes a color logic bug on the frontend for evaluating the color theme of the system prompt variable type data field in the system prompt variable table.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@angelplusultra angelplusultra linked an issue Sep 19, 2025 that may be closed by this pull request
@timothycarambat timothycarambat self-assigned this Sep 19, 2025
@timothycarambat timothycarambat added the PR:needs review Needs review by core team label Sep 19, 2025
@timothycarambat timothycarambat merged commit 96bf127 into master Sep 29, 2025
1 check passed
@timothycarambat timothycarambat deleted the 4325-new-system-prompt-variables branch September 29, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:needs review Needs review by core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: New System Prompt Variables

3 participants