mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-18 21:09:00 +00:00
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:
parent
1551d9750c
commit
b1fdac726b
@ -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
|
# that as of 2024-08-19 fails with "Failed to call a function. Please
|
||||||
# adjust your prompt." when `tool_choice="any"` is specified, but
|
# adjust your prompt." when `tool_choice="any"` is specified, but
|
||||||
# passes when `tool_choice` is not specified.
|
# 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
|
@tool
|
||||||
def magic_function_no_args() -> int:
|
def magic_function_no_args() -> int:
|
||||||
|
Loading…
Reference in New Issue
Block a user