Skip to content

Commit 1e060f8

Browse files
committed
formatting
1 parent 33c0f06 commit 1e060f8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

test/chat_models/chat_anthropic_test.exs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)