Commit 54cd62d
fix(memos-local-openclaw): use limit and minScore query params in Viewer search API
Read limit and minScore from query params instead of ignoring them.
Use minScore as the semantic threshold instead of hardcoded 0.64.
Truncate results by limit and include both params in the response.
Fixes #1372
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 27c9e71 commit 54cd62d
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
773 | 776 | | |
774 | 777 | | |
775 | 778 | | |
| |||
810 | 813 | | |
811 | 814 | | |
812 | 815 | | |
813 | | - | |
| 816 | + | |
814 | 817 | | |
815 | 818 | | |
816 | 819 | | |
| |||
849 | 852 | | |
850 | 853 | | |
851 | 854 | | |
852 | | - | |
| 855 | + | |
853 | 856 | | |
854 | 857 | | |
855 | 858 | | |
| |||
858 | 861 | | |
859 | 862 | | |
860 | 863 | | |
| 864 | + | |
| 865 | + | |
861 | 866 | | |
862 | 867 | | |
863 | 868 | | |
| |||
0 commit comments