mirror of
https://github.com/coder/coder.git
synced 2026-11-02 13:33:30 +08:00
feat: move model settings page to ai settings
This commit is contained in:
@@ -145,7 +145,9 @@
|
||||
"description": "Restrict web search to these domains (cannot be used with blocked_domains)",
|
||||
"label": "Web Search: Allowed Domains",
|
||||
"required": false,
|
||||
"input_type": "json"
|
||||
"input_type": "json",
|
||||
"visible_when": "web_search_enabled",
|
||||
"conflicts_with": ["blocked_domains"]
|
||||
},
|
||||
{
|
||||
"json_name": "blocked_domains",
|
||||
@@ -154,7 +156,9 @@
|
||||
"description": "Block web search on these domains (cannot be used with allowed_domains)",
|
||||
"label": "Web Search: Blocked Domains",
|
||||
"required": false,
|
||||
"input_type": "json"
|
||||
"input_type": "json",
|
||||
"visible_when": "web_search_enabled",
|
||||
"conflicts_with": ["allowed_domains"]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -404,7 +408,8 @@
|
||||
"description": "Amount of search context to use",
|
||||
"required": false,
|
||||
"enum": ["low", "medium", "high"],
|
||||
"input_type": "select"
|
||||
"input_type": "select",
|
||||
"visible_when": "web_search_enabled"
|
||||
},
|
||||
{
|
||||
"json_name": "allowed_domains",
|
||||
@@ -413,7 +418,8 @@
|
||||
"description": "Restrict web search to these domains",
|
||||
"label": "Web Search: Allowed Domains",
|
||||
"required": false,
|
||||
"input_type": "json"
|
||||
"input_type": "json",
|
||||
"visible_when": "web_search_enabled"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user