-
[OPIK-3069] [FE] [DOCS] Add custom headers support for custom providers in Playground (#4069)
发布于
2025-11-14 15:01:04 +00:00 -
[OPIK-3069] [FE] Add custom headers support for custom providers in Playground
-
Revision 2: Fix header deletion - send empty object to clear headers when updating provider
-
Revision 3: Fix header deletion UI - remove header immediately and send empty object to backend
-
[OPIK-3069] [DOCS] Add custom headers documentation for custom providers
-
[OPIK-3069] [DOCS] Update vLLM configuration screenshot to show custom headers UI
-
Optimised images with calibre/image-actions
-
Remove test files from PR - not needed in production branch
-
Revision 4: Address PR review comments - extract headers conversion helper and add validation
-
Revision 5: Fix linting and formatting issues
-
Remove test files from PR
-
Revision 6: Address team review - fix React keys, use generic types, add duplicate validation
- Fix React key prop: Use unique IDs instead of array index to prevent re-render bugs
- Use TypeScript generic in reduce instead of type assertion for better type safety
- Add duplicate header name validation to prevent conflicting headers
- All headers now have unique IDs for stable React rendering
- Update apps/opik-frontend/src/components/pages-shared/llm/ManageAIProviderDialog/CustomProviderDetails.tsx
Co-authored-by: Jacques Verré jverre@gmail.com
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jacques Verré jverre@gmail.com下载附件
-