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

This commit is contained in:
Dark-Alex-17 committed 2026-07-23 18:22:18 -06:00
1 parent 89fadcca15
commit a2c4f05c8c
5 files changed
+20 -12

No files matched your search

+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}");