Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 987c976

Browse files
committed
fix lint
1 parent d800164 commit 987c976

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/codegate/pipeline/cli/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ async def process(
8686

8787
if cleaned_message_str != last_user_message_str:
8888
# it came from Cline, need to wrap into tags
89-
cmd_out = f"<attempt_completion><result>{cmd_out}</result></attempt_completion>\n"
89+
cmd_out = (
90+
f"<attempt_completion><result>{cmd_out}</result></attempt_completion>\n"
91+
)
9092
return PipelineResult(
9193
response=PipelineResponse(
9294
step_name=self.name,

src/codegate/providers/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,11 @@ async def complete(
241241
base_tool = "cline"
242242

243243
model_response = await self._completion_handler.execute_completion(
244-
provider_request, api_key=api_key, stream=streaming, is_fim_request=is_fim_request, base_tool=base_tool
244+
provider_request,
245+
api_key=api_key,
246+
stream=streaming,
247+
is_fim_request=is_fim_request,
248+
base_tool=base_tool,
245249
)
246250
if not streaming:
247251
normalized_response = self._output_normalizer.normalize(model_response)

0 commit comments

Comments
 (0)