From 42839b81eb592a766ecc457b661863ff00542e46 Mon Sep 17 00:00:00 2001 From: xhe Date: Fri, 23 Jan 2026 11:40:31 +0800 Subject: [PATCH 1/2] chore: fix wrong indention Signed-off-by: xhe --- lua/codecompanion/_extensions/history/title_generator.lua | 2 +- tests/cc_config.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/codecompanion/_extensions/history/title_generator.lua b/lua/codecompanion/_extensions/history/title_generator.lua index e88afe0..36cf7e4 100644 --- a/lua/codecompanion/_extensions/history/title_generator.lua +++ b/lua/codecompanion/_extensions/history/title_generator.lua @@ -259,7 +259,7 @@ function TitleGenerator:_make_adapter_request(chat, prompt, callback) if _adapter.handlers.chat_output then result = _adapter.handlers.chat_output(_adapter, data) else - result = adapters.call_handler(_adapter, "parse_chat", data) + result = adapters.call_handler(_adapter, "parse_chat", data) end if result and result.status then if result.status == CONSTANTS.STATUS_SUCCESS then diff --git a/tests/cc_config.lua b/tests/cc_config.lua index d4518a5..c2033b0 100644 --- a/tests/cc_config.lua +++ b/tests/cc_config.lua @@ -65,6 +65,7 @@ return { command = { "node", "test-agent.js" }, roles = { user = "user", assistant = "assistant" }, }, + opts = {}, }, }, interactions = { @@ -129,6 +130,7 @@ return { }, opts = { blank_prompt = "", + completion_provider = "test_adapter", }, }, From db56d93d5a684ac9107d4aa6331f2f0ba6619bc9 Mon Sep 17 00:00:00 2001 From: xhe Date: Sat, 24 Jan 2026 13:05:10 +0800 Subject: [PATCH 2/2] fix Signed-off-by: xhe --- tests/cc_config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cc_config.lua b/tests/cc_config.lua index c2033b0..1b004b3 100644 --- a/tests/cc_config.lua +++ b/tests/cc_config.lua @@ -65,7 +65,7 @@ return { command = { "node", "test-agent.js" }, roles = { user = "user", assistant = "assistant" }, }, - opts = {}, + opts = {}, }, }, interactions = { @@ -130,7 +130,7 @@ return { }, opts = { blank_prompt = "", - completion_provider = "test_adapter", + completion_provider = "test_adapter", }, },