fmt: applied formatting
This commit is contained in:
@@ -145,6 +145,7 @@ pub async fn handle_user_tool(
|
|||||||
"question": result["question"],
|
"question": result["question"],
|
||||||
"options": result["options"],
|
"options": result["options"],
|
||||||
}));
|
}));
|
||||||
|
|
||||||
return Ok(result);
|
return Ok(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -168,6 +169,7 @@ fn handle_headless(action: &str, args: &Value) -> Value {
|
|||||||
.and_then(Value::as_array)
|
.and_then(Value::as_array)
|
||||||
.cloned()
|
.cloned()
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
|
|
||||||
json!({
|
json!({
|
||||||
"needs_human": true,
|
"needs_human": true,
|
||||||
"action": action,
|
"action": action,
|
||||||
|
|||||||
Reference in New Issue
Block a user