feat: renamed the user__ask to user__select and improved descriptions to improve model usage

This commit is contained in:
2026-07-23 18:22:18 -06:00
parent 89fadcca15
commit a2c4f05c8c
5 changed files with 20 additions and 12 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ impl ApprovalNodeExecutor {
&json!({ "question": question, "options": node.options }),
)
.await
.context("user__ask failed")?;
.context("user__select failed")?;
if let Some(err) = response.get("error").and_then(Value::as_str) {
bail!("Approval interaction failed: {err}");