mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-12 14:23:58 +00:00
fix(huggingface): update model used in standard tests (#32116)
This commit is contained in:
parent
6d71bb83de
commit
cc076ed891
@ -16,7 +16,7 @@ class TestHuggingFaceEndpoint(ChatModelIntegrationTests):
|
|||||||
@property
|
@property
|
||||||
def chat_model_params(self) -> dict:
|
def chat_model_params(self) -> dict:
|
||||||
llm = HuggingFaceEndpoint( # type: ignore[call-arg]
|
llm = HuggingFaceEndpoint( # type: ignore[call-arg]
|
||||||
repo_id="Qwen/Qwen2.5-72B-Instruct",
|
repo_id="meta-llama/Llama-4-Maverick-17B-128E-Instruct",
|
||||||
task="conversational",
|
task="conversational",
|
||||||
provider="fireworks-ai",
|
provider="fireworks-ai",
|
||||||
temperature=0,
|
temperature=0,
|
||||||
@ -59,12 +59,6 @@ class TestHuggingFaceEndpoint(ChatModelIntegrationTests):
|
|||||||
model, my_adder_tool=my_adder_tool
|
model, my_adder_tool=my_adder_tool
|
||||||
)
|
)
|
||||||
|
|
||||||
@pytest.mark.xfail(reason=("Not implemented"))
|
|
||||||
def test_structured_few_shot_examples(
|
|
||||||
self, model: BaseChatModel, my_adder_tool: BaseTool
|
|
||||||
) -> None:
|
|
||||||
super().test_structured_few_shot_examples(model, my_adder_tool=my_adder_tool)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def has_tool_choice(self) -> bool:
|
def has_tool_choice(self) -> bool:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user