Commit Graph

82 Commits

Author SHA1 Message Date
MMMarcinho
8373795804 feat: change style 2025-05-08 23:15:00 +08:00
Cliff Hall
33aad8a271 Merge branch 'main' into max/default-tool-json 2025-04-14 16:15:27 -04:00
Nathan Arseneau
98ea4a12d6 Merge branch 'main' into dark-mode-fix 2025-04-11 20:13:31 -04:00
Maxwell Gerber
2e8cc56744 Merge remote-tracking branch 'theirs/main' into max/default-tool-json 2025-04-11 15:36:25 -07:00
Maxwell Gerber
3e95d9d42a pr feedback: Only use form if object is simple 2025-04-11 15:34:41 -07:00
kavinkumarbaskar
1596973b05 Merge branch 'main' into highlight-tool-errors-in-red-text 2025-04-09 22:47:12 +05:30
kavinkumarbaskar
256972a366 Merge branch 'main' into highlight-tool-errors-in-red-text 2025-04-09 17:40:30 +05:30
yushengchen
fe74dbea74 refactor(json): Consolidate JSON utilities and type definitions
Modified files:
- client/src/components/DynamicJsonForm.tsx
- client/src/components/JsonView.tsx
- client/src/components/ToolsTab.tsx
- client/src/components/__tests__/DynamicJsonForm.test.tsx
- client/src/utils/__tests__/jsonPathUtils.test.ts → client/src/utils/__tests__/jsonUtils.test.ts
- client/src/utils/__tests__/schemaUtils.test.ts
- client/src/utils/jsonPathUtils.ts → client/src/utils/jsonUtils.ts
- client/src/utils/schemaUtils.ts

Descriptions:
- Move JSON type definitions from DynamicJsonForm to centralized jsonUtils
- Consolidate utility functions (getDataType, tryParseJson) into jsonUtils
- Rename jsonPathUtils to jsonUtils for better semantic clarity
- Add comprehensive test coverage for new utility functions
- Update imports across all affected components
- Improve type references consistency throughout the codebase
2025-04-09 09:20:02 +08:00
Maxwell Gerber
f6ed09e9fb Merge remote-tracking branch 'theirs/main' into max/default-tool-json 2025-04-08 15:17:11 -07:00
Maxwell Gerber
4bc44c4d19 fix: When tool type cannot be determined, use DynamicJsonForm 2025-04-08 15:05:57 -07:00
Pulkit Sharma
cf20fe9142 merge main 2025-04-09 01:23:42 +05:30
kavinkumarbaskar
ca1854b071 ran npm run prettier-fix command to fix the code styling 2025-04-05 23:32:10 +05:30
kavinkumarbaskar
a3be8f6376 feat: highlight tool errors in red text 2025-04-05 23:24:10 +05:30
Nathan Arseneau
8d20044b33 fix darkmode color and padding for the tab item 2025-04-05 11:47:44 -04:00
Pulkit Sharma
e35343537c Add proper support for progress flow during tool calling 2025-04-05 01:46:57 +05:30
Shinya Fujino
0fd2e12c7b Fix inconsistent gap between TabsList and TabsContent 2025-04-04 22:39:55 +09:00
NicolasMontone
c964ff5cfe Use copy button insde JSON view component 2025-04-02 10:39:39 -03:00
NicolasMontone
8586d63e6d Add shadcn alert to match project design 2025-04-01 17:38:25 -03:00
NicolasMontone
539de0fd85 add copy button 2025-04-01 17:18:40 -03:00
NicolasMontone
1504d1307e Remove error 2025-04-01 16:49:10 -03:00
NicolasMontone
d1e155f984 Revert "Add copy button to JSON & fix button styles override."
This reverts commit c48670f426.
2025-04-01 16:48:01 -03:00
NicolasMontone
c48670f426 Add copy button to JSON & fix button styles override. 2025-04-01 16:43:23 -03:00
Nicolás Montone
e4d4ff0148 Merge branch 'main' into main 2025-04-01 15:10:10 -03:00
NicolasMontone
d2db697d89 fix: prettier. 2025-04-01 11:00:13 -03:00
NicolasMontone
dada1c4ba6 do not remove form with alert 2025-04-01 10:59:30 -03:00
katopz
2ee0a53e36 fix: prettier 2025-04-01 09:27:24 +09:00
katopz
7b055b6b9a fix: prop.type not accept integer 2025-03-31 18:29:09 +09:00
cgoing
2d252a389c Remove escapeUnicode function from ToolsTab.tsx 2025-03-27 11:42:39 +09:00
cgoing
e6f5da8383 Improve JsonView component styling and change to use JsonView in PromptsTab 2025-03-27 10:49:37 +09:00
choi sung keun
8e9e5facaf Merge branch 'main' into feat/json-view-component 2025-03-25 09:45:01 +09:00
cgoing
f0b28d4760 feat: json view component 2025-03-25 01:48:29 +09:00
Ola Hungerford
f8b7b88a25 Merge pull request #198 from nathanArseneau/error-when-switching-Tools-without-changing-value
fix: set default value for input fields in ToolsTab component
2025-03-24 09:29:05 -07:00
Abdelkader Boudih
af44efb236 chore: extract utils escapeUnicode 2025-03-22 16:25:33 +00:00
Abdelkader Boudih
3488bdb613 feat: Add utility function to escape Unicode characters in tool results 2025-03-21 22:21:26 +00:00
Nathan Arseneau
029e482e05 fix: set default value for input fields in ToolsTab component 2025-03-19 20:15:14 -04:00
Ola Hungerford
cae7c76358 Fix formatting 2025-03-16 15:31:49 -07:00
Ola Hungerford
50a65d0c7a Use generateDefaultValue for object and array defaults 2025-03-16 15:29:59 -07:00
Ola Hungerford
e7f55f083f Fix formatting 2025-02-28 07:34:01 -07:00
Ola Hungerford
36aa7316ea Fix issue where array type defaults to object 2025-02-28 07:31:26 -07:00
kshern
8267e514ce fix: prettier write 2025-02-25 00:09:04 +08:00
kshern
07577fc94b feat:toolsbar add array support 2025-02-24 02:36:52 +08:00
Justin Spahr-Summers
3893807841 Merge pull request #153 from funwarioisii/fix-tool-call-textarea
Fix ToolsTab Textarea value for clearing when switch tool
2025-02-19 15:08:42 +00:00
funwarioisii
f505ae3d5a Fix ToolsTab Textarea value for clearing when switch tool 2025-02-19 23:55:24 +09:00
Ola Hungerford
89ee2b1b93 Merge branch 'main' into handle-boolean 2025-02-19 07:48:27 -07:00
Ola Hungerford
450405733a Merge: Integrate boolean checkbox support with SchemaProperty type system 2025-02-19 07:38:23 -07:00
Ola Hungerford
44d07b964c Fix styling 2025-02-15 05:05:29 -07:00
Ola Hungerford
f7312ab331 Add checkbox for Boolean input params 2025-02-15 04:33:08 -07:00
Ola Hungerford
133b785f79 Fix formatting 2025-02-14 07:33:37 -07:00
Ola Hungerford
b3194ac56e Merge branch 'main' into tool-input-improvements 2025-02-14 07:20:45 -07:00
Jerome
d0ad677784 Update ToolsTab.tsx
Linting on originally approved commit
2025-02-03 12:24:52 +13:00