Skip to content

feat: add 3-tier field classification for chat mode#52

Merged
myeolinmalchi merged 2 commits into
mainfrom
feat/chat-mode-3tier-field-classification
Apr 15, 2026
Merged

feat: add 3-tier field classification for chat mode#52
myeolinmalchi merged 2 commits into
mainfrom
feat/chat-mode-3tier-field-classification

Conversation

@myeolinmalchi
Copy link
Copy Markdown
Collaborator

@myeolinmalchi myeolinmalchi commented Apr 15, 2026

Summary

  • Add 3-tier field classification for chat mode (messages-excluded fields)
    • Required: x-field-display: "required" — above input box, red indicator, must fill to submit
    • Normal: fields in required array — above input box, optional
    • NotRequired: fields not in required array (NotRequired[T]) — shown in Advanced Input only
  • Support x-field-display property to override classification ("required", "inline", "advanced")
  • Add InlineFieldsSection component: renders Required + Normal fields above textarea in compact mode
  • Add fields prop to SchemaFieldsSection to allow caller-specified field lists
  • Form mode behavior unchanged
  • Add configuration reference docs with backend examples (TypedDict, Pydantic)

Add Required/Normal/NotRequired field tiers for chat mode schemas.
Fields are classified by x-field-display override and JSON Schema
required array, with NotRequired fields shown in Advanced Input only.
@myeolinmalchi myeolinmalchi self-assigned this Apr 15, 2026
@myeolinmalchi myeolinmalchi added the enhancement New feature or request label Apr 15, 2026
@myeolinmalchi myeolinmalchi merged commit c16c25d into main Apr 15, 2026
4 checks passed
@myeolinmalchi myeolinmalchi deleted the feat/chat-mode-3tier-field-classification branch April 15, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant