From 333e5ccbea402770bda593ab4e90207d5fe4dcf2 Mon Sep 17 00:00:00 2001 From: Mark Ericksen Date: Tue, 30 Apr 2024 20:25:24 -0600 Subject: [PATCH] formatting --- test/chains/llm_chain_test.exs | 16 ++++++++-------- test/support/fixtures.ex | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/test/chains/llm_chain_test.exs b/test/chains/llm_chain_test.exs index ae5e710e..aed240d7 100644 --- a/test/chains/llm_chain_test.exs +++ b/test/chains/llm_chain_test.exs @@ -375,7 +375,7 @@ defmodule LangChain.Chains.LLMChainTest do arguments: nil, index: 0 } - ], + ] } ], [ @@ -393,7 +393,7 @@ defmodule LangChain.Chains.LLMChainTest do arguments: "{\"", index: 0 } - ], + ] } ], [ @@ -411,7 +411,7 @@ defmodule LangChain.Chains.LLMChainTest do arguments: "code", index: 0 } - ], + ] } ], [ @@ -429,7 +429,7 @@ defmodule LangChain.Chains.LLMChainTest do arguments: "\":\"", index: 0 } - ], + ] } ], [ @@ -447,7 +447,7 @@ defmodule LangChain.Chains.LLMChainTest do arguments: "don", index: 0 } - ], + ] } ], [ @@ -465,7 +465,7 @@ defmodule LangChain.Chains.LLMChainTest do arguments: "ate", index: 0 } - ], + ] } ], [ @@ -483,7 +483,7 @@ defmodule LangChain.Chains.LLMChainTest do arguments: "\"}", index: 0 } - ], + ] } ], [ @@ -492,7 +492,7 @@ defmodule LangChain.Chains.LLMChainTest do status: :complete, index: 0, role: :unknown, - tool_calls: nil, + tool_calls: nil } ] ] diff --git a/test/support/fixtures.ex b/test/support/fixtures.ex index 74c74ee3..9d917f9a 100644 --- a/test/support/fixtures.ex +++ b/test/support/fixtures.ex @@ -514,7 +514,6 @@ defmodule LangChain.Fixtures do ] end - def delta_content_with_function_call() do # OpenAI treats a function_call as extra information with an `:assistant` # response. We treat a function_call as it's own thing.