From d2c86df128004aa0d601503f8be98bcc6f933fbb Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Mon, 2 Mar 2026 13:40:58 -0500 Subject: [PATCH] fix(huggingface): switch integration test provider to together (#35525) Switch the `TestHuggingFaceEndpoint` serverless inference provider from `sambanova` to `together` for `Llama-3.3-70B-Instruct`. Sambanova doesn't support `tool_choice: "any"` (needed by `test_structured_few_shot_examples` and `test_unicode_tool_call_integration`) and doesn't return `usage_metadata` in streaming responses. --- .../huggingface/tests/integration_tests/test_standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/huggingface/tests/integration_tests/test_standard.py b/libs/partners/huggingface/tests/integration_tests/test_standard.py index cba4d775392..239fdac4cec 100644 --- a/libs/partners/huggingface/tests/integration_tests/test_standard.py +++ b/libs/partners/huggingface/tests/integration_tests/test_standard.py @@ -20,7 +20,7 @@ class TestHuggingFaceEndpoint(ChatModelIntegrationTests): llm = HuggingFaceEndpoint( # type: ignore[call-arg] repo_id="meta-llama/Llama-3.3-70B-Instruct", task="conversational", - provider="sambanova", + provider="together", temperature=0, ) return {"llm": llm}