You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI: support multi-select (array) fields in ink-form forms #2904
The TUI builds its tool and elicitation forms with schemaToForm (clients/tui/src/utils/schemaToForm.ts). ink-form has no multi-select, so a { type: "array", items: { enum: [...] } } property becomes a single select. That means:
a tool argument that is an array of enums can only be sent with one value, and
Expected: the user can choose several values (a custom ink-form field manager, or a comma/JSON-array text input as a fallback), and minItems/maxItems are checked before the call or the elicitation answer is sent.
Raised by Copilot review on #2903 and declined there as out of scope: #2829 asked for the elicitation form to reuse the existing tool form, which has this limitation for tool arguments too.
Activity