Commit graph

1455 commits

Author SHA1 Message Date
CREDO23
3ef860fb1c feat: add delete search space zod schemas 2025-12-15 08:18:35 +00:00
CREDO23
0f531ee723 feat: add search space zod schemas for GET and PUT endpoints 2025-12-15 08:18:35 +00:00
Rohan Verma
384ddfda71
Merge pull request #582 from MODSetter/dev
feat: shifted use-llm-configs hook to jotai and tanstack
2025-12-14 22:37:24 -08:00
DESKTOP-RTLN3BA\$punk
7de87ada81 chore: recurse 2025-12-14 22:32:13 -08:00
DESKTOP-RTLN3BA\$punk
f0a6c348d1 fix: update llm-config types to allow nullable created_at and updated_at fields 2025-12-14 22:23:16 -08:00
Rohan Verma
eae259cb38
Merge pull request #540 from CREDO23/feat/add-jotai-tanstack-llm-config
[Feat] LLM configs | add jotai & tanstack
2025-12-14 22:16:16 -08:00
Rohan Verma
33104a017a
Merge pull request #581 from MODSetter/dev
roadmap(1.3): Update citation prompt to use new whole document structure
2025-12-14 22:14:54 -08:00
DESKTOP-RTLN3BA\$punk
fea1837186 roadmap(1.3): Update citation prompt to use new whole document structure
- Modified the document extraction and citation formatting to accommodate a new structure that includes a `chunks` list for each document.
- Enhanced the citation format to reference `chunk_id` instead of `source_id`, ensuring accurate citations in the UI.
- Updated various components, including the connector service and reranker service, to handle the new document format and maintain compatibility with existing functionalities.
- Improved documentation and comments to reflect changes in the data structure and citation requirements.
2025-12-14 22:07:31 -08:00
CREDO23
088e8afced restore uv.lock to upstream dev 2025-12-14 20:38:30 +02:00
CREDO23
90f4ce61b5 refact: format web project with biome 2025-12-14 20:33:15 +02:00
CREDO23
be381c833e cleanup 2025-12-14 20:22:00 +02:00
CREDO23
3e8cdabd73 refactor: complete migration of useLLMPreferences hook to jotai atoms
- Migrated llm-role-manager.tsx to use jotai atoms
- Fixed TypeScript errors in llm-role-manager.tsx
- Deleted unused use-llm-configs.ts file
- All LLM preferences now use centralized jotai + tanstack query atoms
2025-12-14 20:22:00 +02:00
CREDO23
e59c920625 refactor: migrate setup-llm-step.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
1d0be3a640 refactor: migrate ChatInputGroup.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
ce90672250 chore: commit all changes 2025-12-14 20:22:00 +02:00
CREDO23
eb448d8a5b refactor: migrate client-layout.tsx from useLLMPreferences hook to jotai atoms 2025-12-14 20:22:00 +02:00
CREDO23
15fdfeb3cf chore: commit all changes 2025-12-14 20:22:00 +02:00
CREDO23
5d380faaad fix: update LLM preferences mutation call signature in onboard page 2025-12-14 20:22:00 +02:00
CREDO23
3a65277e8b feat(llm-config): add llmPreferencesAtom query atom for fetching LLM preferences 2025-12-14 20:22:00 +02:00
CREDO23
194b17500e feat(llm-config): complete migration of useGlobalLLMConfigs to globalLLMConfigsAtom
- Removed unused import from model-config-manager.tsx
- Deleted useGlobalLLMConfigs hook (no longer used anywhere)
- All 5 components now using jotai + tanstack query pattern
- Full backward compatibility maintained
2025-12-14 20:22:00 +02:00
CREDO23
62fcec425b feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in llm-role-manager 2025-12-14 20:22:00 +02:00
CREDO23
4eb521e156 feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in setup-llm-step 2025-12-14 20:22:00 +02:00
CREDO23
636db67d65 feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in ChatInputGroup 2025-12-14 20:22:00 +02:00
CREDO23
c91c83d40d feat(llm-config): replace useGlobalLLMConfigs with globalLLMConfigsAtom in onboard page 2025-12-14 20:22:00 +02:00
CREDO23
80d6696310 feat(llm-config): remove unused useLLMConfigs hook - completely migrated to jotai + tanstack query 2025-12-14 20:22:00 +02:00
CREDO23
c3dd3de6f6 refactor: migrate ChatInputGroup to jotai + tanstack query pattern
- Replace useLLMConfigs hook with llmConfigsAtom
- Map properties correctly (data, isFetching, isError)
- Fix TypeScript issue with is_global property check
- Keep useGlobalLLMConfigs and useLLMPreferences unchanged
- Maintain backward compatibility with existing functionality
2025-12-14 20:22:00 +02:00
CREDO23
85f00bd364 refactor: migrate llm-role-manager to jotai + tanstack query pattern
- Replace useLLMConfigs hook with llmConfigsAtom
- Map properties correctly (data, isFetching, isError, refetch)
- Fix onClick handler for refreshConfigs to use arrow function
- Fix TypeScript issue with is_global property check
- Maintain backward compatibility with existing functionality
- Keep useGlobalLLMConfigs and useLLMPreferences unchanged as requested
2025-12-14 20:20:57 +02:00
CREDO23
f1de17dac2 fix: resolve merge conflicts after rebase from upstream/dev 2025-12-14 20:20:57 +02:00
CREDO23
63b0bb2472 refactor: migrate setup-llm-step to jotai + tanstack query pattern
- Replace imperative useLLMConfigs hook with jotai atoms
- Use createLLMConfigMutationAtom for config creation
- Use deleteLLMConfigMutationAtom for config deletion
- Use llmConfigsAtom for fetching configs
- Update types from CreateLLMConfig to CreateLLMConfigRequest
- Add proper error handling with try-catch
- Fix TypeScript issues with is_global property check
- Maintain backward compatibility with existing callbacks
2025-12-14 20:20:57 +02:00
CREDO23
5b7e5770be feat: migrate createLLMConfig to jotai mutation atom and add query atoms for LLM configs 2025-12-14 20:20:57 +02:00
CREDO23
0c0491cd49 feat: add updateLLMPreferencesMutationAtom to handle LLM preferences updates 2025-12-14 20:17:27 +02:00
CREDO23
1aa10db910 feat: add deleteLLMConfigMutationAtom and fix cache key usage in all LLM config mutations 2025-12-14 20:17:27 +02:00
CREDO23
737169248e feat: add updateLLMConfigMutationAtom to llm-config mutations 2025-12-14 20:17:27 +02:00
CREDO23
2200d7b63c feat: add LLM config cache keys and create mutation atom 2025-12-14 20:17:27 +02:00
CREDO23
03279a2836 feat: implement updateLLMPreferences method in llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
54214e3d1c feat: add getLLMPreferences method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
2be09c50ae feat: add deleteLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
caec63f338 feat: add updateLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
6b1805bde4 feat: add getLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
d202c3ebac feat: add getLLMConfigs method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
0c39242abb feat: add createLLMConfig method to llm-config API service 2025-12-14 20:17:27 +02:00
CREDO23
506419597e fix: adjust llm-config type constraints for api_base and language fields 2025-12-14 20:17:27 +02:00
CREDO23
cb8e4ab1b7 feat: add llm-config API service with getGlobalLLMConfigs endpoint 2025-12-14 20:17:27 +02:00
CREDO23
66e0d31f68 feat: add update LLM preferences request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
9395787ac0 feat: add get LLM preferences request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
ac667efde8 feat: add delete LLM config request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
1c5fba952d feat: add update LLM config request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
a8b994241d feat: add get LLM config by ID request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
c065824d02 feat: add get LLM configs request/response schemas 2025-12-14 20:17:27 +02:00
CREDO23
a4f0b21529 feat: add create LLM config request/response schemas 2025-12-14 20:17:27 +02:00