feat: add enable_LLM_playground
config on webserver
#2677
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
related PR: https://app.graphite.dev/github/pr/lablup/backend.ai-webui/2620
TL;DR
Enable/disable the LLM Playground tab in the service page via the new
enable_LLM_playground
configuration option.What changed?
enable_LLM_playground
option tosample.conf
.config.py
to process the new option.config.toml.j2
andconfig_ini.toml.j2
templates to incorporate the new option.How to test?
configs/webserver/sample.conf
and setenable_LLM_playground
to true or false.Why make this change?
The change introduces a flexible way to enable or disable the LLM Playground tab in the service page, providing better control over the web server's UI configuration.
Checklist: (if applicable)
ai.backend.test
docs
directory