mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 01:51:24 +00:00
Configure: make model picker allowlist searchable
This commit is contained in:
@@ -424,6 +424,7 @@ export async function promptModelAllowlist(params: {
|
||||
message: params.message ?? "Models in /model picker (multi-select)",
|
||||
options,
|
||||
initialValues: initialKeys.length > 0 ? initialKeys : undefined,
|
||||
searchable: true,
|
||||
});
|
||||
const selected = normalizeModelKeys(selection.map((value) => String(value)));
|
||||
if (selected.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user