Skip to content

Commit e33ba0b

Browse files
committed
fix:change strategy name
1 parent f37ceed commit e33ba0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/memos/reranker/http_bge_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(
8484
boost_weights: dict[str, float] | None = None,
8585
boost_default: float = 0.0,
8686
warn_unknown_filter_keys: bool = True,
87-
reranker_strategy: str = "singleturn_outputmem",
87+
reranker_strategy: str = "single_turn",
8888
**kwargs,
8989
):
9090
"""

src/memos/reranker/strategies/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class RerankerStrategyFactory:
1818
backend_to_class: ClassVar[dict[str, Any]] = {
1919
"single_turn": SingleTurnStrategy,
2020
"concat_background": ConcatBackgroundStrategy,
21-
"singleturn_outputmem": SingleTurnOutMemStrategy,
21+
"singleturn_outmem": SingleTurnOutMemStrategy,
2222
}
2323

2424
@classmethod

0 commit comments

Comments
 (0)