perf: http empty params (#3773)

* model config

* feat: normalization embedding

* perf: http empty params

* doc
This commit is contained in:
Archer
2025-02-13 10:35:11 +08:00
committed by GitHub
parent abe082b9ab
commit 1094c65f2b
9 changed files with 26 additions and 20 deletions

View File

@@ -26,7 +26,7 @@ export const simpleText = (text = '') => {
};
export const valToStr = (val: any) => {
if (val === undefined) return 'undefined';
if (val === undefined) return '';
if (val === null) return 'null';
if (typeof val === 'object') return JSON.stringify(val);