fix(ai): declare function parameters in Marqdo prose syntax

This commit is contained in:
cflmy committed 2026-11-18 09:36:26 +08:00
1 parent 9564dff777
commit 3613ed7c4e
1 file changed
+6
+6
View File
@@ -24,6 +24,8 @@ Only the requested function and its inputs need to be in the model prompt.
|---|---|---|
| result | map | {ok,value,status} or {ok:false,error} |
Use `reply`, `options` as the inputs for this operation.
Parsing accepts one exact name, a labeled name, a fenced name or a 1-based
index. Ambiguous prose fails closed. Parsing never runs a tool or SKILL.
@@ -48,6 +50,8 @@ Return *[Parse and verify the choice](agent_choice_parse(reply=`reply`, options=
|---|---|---|
| result | map | Verified choice result, or explicit failure |
Use `input`, `options`, `model`=None, `repair`=True as the inputs for this operation.
Only ask for the option name. A failed first parse can receive one short
format correction; never silently select the nearest-looking option.
@@ -77,6 +81,8 @@ We retain **ok = [Read validation status](json.get(value=`parsed`, key="ok"))**.
|---|---|---|
| result | list | Ordered child outcomes, including failures |
Use `tasks`, `limit`=2, `timeout_ms`=30000 as the inputs for this operation.
Reuse the built-in subtask scheduler. Each child document returns via its
`# main`, and successful siblings remain visible if another child fails.