Files
wehub-resource-sync 6c9c7fe7f3
CI / integration tests (3.13) (push) Failing after 1s
Commit lint / pull request title (push) Has been skipped
Docs / links (push) Failing after 1s
CI / unit tests (3.13) (push) Failing after 1s
CI / lint (push) Failing after 1s
CI / integration tests (push) Failing after 1s
CI / package build (push) Failing after 1s
Commit lint / commit messages (push) Failing after 1s
CI / unit tests (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:24:24 +08:00

18 lines
476 B
Python

"""Knowledge settings load from TOML."""
from __future__ import annotations
from everos.config import load_settings
class TestKnowledgeSettings:
def test_defaults(self) -> None:
load_settings.cache_clear()
s = load_settings()
ks = s.knowledge
assert ks.search.recall_n == 200
assert ks.search.rerank_n == 50
assert ks.search.mass_top_m == 50
assert ks.search.lam == 0.1
assert ks.search.top_k_cap == 100