mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
feat: add marketplace_path setting to GUI (local and SaaS)
Adds a configurable marketplace_path setting that controls which marketplace is used when loading public skills. Users can: - Use the default marketplace (marketplaces/default.json) - default behavior - Specify a custom marketplace path - Leave empty to load all skills without marketplace filtering Changes: - Added marketplace_path field to Settings data model (backend) - Added marketplace_path to frontend Settings type - Added DEFAULT_MARKETPLACE_PATH constant to frontend settings service - Added Skills Settings section in App Settings page with marketplace_path input This applies to both Local GUI and SaaS GUI as they share the same frontend code. Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -54,6 +54,9 @@ class Settings(BaseModel):
|
||||
git_user_name: str | None = None
|
||||
git_user_email: str | None = None
|
||||
v1_enabled: bool = True
|
||||
# Path to the marketplace JSON file for public skills loading
|
||||
# Defaults to 'marketplaces/default.json' in the public skills repository
|
||||
marketplace_path: str | None = 'marketplaces/default.json'
|
||||
|
||||
model_config = ConfigDict(
|
||||
validate_assignment=True,
|
||||
|
||||
Reference in New Issue
Block a user