Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Conversation

@iandjx
Copy link
Collaborator

@iandjx iandjx commented Jul 21, 2025

Implement text input cleaning in vectorDb API functions

- Add a new utility function `cleanTextInput` to sanitize input by removing unwanted characters and trimming whitespace.
- Update `addVectorDbApi` and `editVectorDbApi` functions to use `cleanTextInput` for processing API key, URL, type, and name fields, ensuring cleaner data handling.
@github-actions
Copy link

File Coverage
All files 96%
src/lib/utils/validationutils.ts 95%

Minimum allowed coverage is 80%

Generated by 🐒 cobertura-action against 86d839a

@iandjx iandjx merged commit ba77b60 into master Jul 21, 2025
8 checks passed
@iandjx iandjx deleted the fix/vector-db-creation branch July 21, 2025 05:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants