You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/ui
Sreekaran Srinath 1f4d9e83ff
fix(ui): add anyOf/oneOf support in config form (#268)
* fix(ui): add anyOf/oneOf support in config form

- Handle literal unions as dropdowns with type preservation
- Handle primitive unions (string|number, boolean|string) as text inputs
- Unwrap single-variant optional types
- Fix enum handler to preserve types via index-based values
- Update normalizeUnion to support primitive unions in schema analysis
- Exclude allOf from union normalization (stays unsupported)

Fields like Thinking Default, Allow From, Memory now render properly
instead of showing 'unsupported schema node' errors.

* UI: fix enum placeholder collision

* Docs: update changelog for PR #268

---------

Co-authored-by: Shadow <hi@shadowing.dev>
11 months ago
..
src fix(ui): add anyOf/oneOf support in config form (#268) 11 months ago
index.html chore: rename project to clawdbot 11 months ago
package.json fix(ui): render markdown in chat 11 months ago
tsconfig.json fix(control-ui): serve dashboard at root 11 months ago
vite.config.ts fix(chat): stabilize web UI tool runs 11 months ago
vitest.config.ts chore: update deps and add control ui routing tests 11 months ago