groq[patch]: update model used in test (#29441)

`llama-3.1-70b-versatile` was [shut
down](https://console.groq.com/docs/deprecations).
This commit is contained in:
ccurme 2025-01-27 16:11:44 -05:00 committed by GitHub
parent 1551d9750c
commit b1fdac726b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -399,7 +399,7 @@ def test_tool_calling_no_arguments() -> None:
# that as of 2024-08-19 fails with "Failed to call a function. Please
# adjust your prompt." when `tool_choice="any"` is specified, but
# passes when `tool_choice` is not specified.
model = ChatGroq(model="llama-3.1-70b-versatile", temperature=0) # type: ignore[call-arg]
model = ChatGroq(model="llama-3.3-70b-versatile", temperature=0) # type: ignore[call-arg]
@tool
def magic_function_no_args() -> int: