mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
chore: update deps and pi model discovery
This commit is contained in:
@@ -58,15 +58,17 @@ export function createClackPrompter(): WizardPrompter {
|
||||
initialValues: params.initialValues,
|
||||
}),
|
||||
),
|
||||
text: async (params) =>
|
||||
guardCancel(
|
||||
text: async (params) => {
|
||||
const validate = params.validate;
|
||||
return guardCancel(
|
||||
await text({
|
||||
message: stylePromptMessage(params.message),
|
||||
initialValue: params.initialValue,
|
||||
placeholder: params.placeholder,
|
||||
validate: params.validate,
|
||||
validate: validate ? (value) => validate(value ?? "") : undefined,
|
||||
}),
|
||||
),
|
||||
);
|
||||
},
|
||||
confirm: async (params) =>
|
||||
guardCancel(
|
||||
await confirm({
|
||||
|
||||
Reference in New Issue
Block a user