feat: implement template variables input functionality

- Create useTemplateValues hook to manage template variable state
- Support dynamic placeholder replacement in provider configs
- Add template parameter input UI in provider form
- Validate required template values before submission
- Auto-update config when template values change
This commit is contained in:
Jason
2025-10-16 20:25:39 +08:00
parent e4f85f4f65
commit 74afca7b58
3 changed files with 356 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ export { useCodexConfigState } from "./useCodexConfigState";
export { useApiKeyLink } from "./useApiKeyLink";
export { useCustomEndpoints } from "./useCustomEndpoints";
export { useKimiModelSelector } from "./useKimiModelSelector";
export { useTemplateValues } from "./useTemplateValues";