[Enhancement]: reduce/optimize artifact prompt size #13260
Answered
by
danny-avila
JeanBaptiste-dlb
asked this question in
Q&A
What features would you like to see added?I see that the system prompt (on Qwen3.6) grows by 5k tokens when enabling artifacts. would there be a way to optimise/compact this prompt to use less tokens, the feature itself is very nice, but the token cost seems quite high. More detailsI don't know if you have a way to test if modification of this prompt cause regression. Which components are impacted by your request?No response PicturesNo response Code of Conduct
|
Answered by
danny-avila
May 22, 2026
Replies: 2 comments 2 replies
|
Yes, see: https://www.librechat.ai/docs/features/agents#artifacts |
1 reply
Answer selected by
JeanBaptiste-dlb
|
with the minimal one, Qwen3.6 had difficulties to generate html without bug so I use instead a trimmed version of the default prompt coming with the feature. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, see: https://www.librechat.ai/docs/features/agents#artifacts