File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -254,12 +254,21 @@ defmodule LangChain.ChatModels.ChatAnthropicTest do
254254 { :ok , anthropic } =
255255 ChatAnthropic . new ( % {
256256 model: @ test_model ,
257- tool_choice: % { "type" => "tool" , "name" => "get_weather" , "disable_parallel_tool_use" => true }
257+ tool_choice: % {
258+ "type" => "tool" ,
259+ "name" => "get_weather" ,
260+ "disable_parallel_tool_use" => true
261+ }
258262 } )
259263
260264 data = ChatAnthropic . for_api ( anthropic , [ ] , [ ] )
261265 assert data . model == @ test_model
262- assert data . tool_choice == % { "type" => "tool" , "name" => "get_weather" , "disable_parallel_tool_use" => true }
266+
267+ assert data . tool_choice == % {
268+ "type" => "tool" ,
269+ "name" => "get_weather" ,
270+ "disable_parallel_tool_use" => true
271+ }
263272 end
264273
265274 test "adds tool definitions to map" do
You can’t perform that action at this time.
0 commit comments