feat(model-profiles): distribute data across packages (#34024)

This commit is contained in:
ccurme
2025-11-21 15:47:05 -05:00
committed by GitHub
parent ee3373afc2
commit 33e5d01f7c
74 changed files with 3278 additions and 15714 deletions

View File

@@ -325,3 +325,15 @@ def test_inheritance_with_empty_llm() -> None:
# relevant attrs
assert chat.max_tokens is None
assert chat.temperature is None
def test_profile() -> None:
empty_llm = Mock(spec=HuggingFaceEndpoint)
empty_llm.repo_id = "test/model"
empty_llm.model = "test/model"
model = ChatHuggingFace(
model_id="moonshotai/Kimi-K2-Instruct-0905",
llm=empty_llm,
)
assert model.profile