Skip to content

Implement text input cleaning in vectorDb API functions - #682

Merged
iandjx merged 1 commit into
masterfrom
fix/vector-db-creation
Jul 21, 2025
Merged

Implement text input cleaning in vectorDb API functions#682
iandjx merged 1 commit into
masterfrom
fix/vector-db-creation

Conversation

@iandjx

@iandjx iandjx commented Jul 21, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant