Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yrobla committed Jan 22, 2025
1 parent 7c80489 commit 19208e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/codegate/pipeline/codegate_context_retriever/codegate.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,10 @@ async def process(
task_start, task_content, task_end, rest_of_message = match.groups()

# Embed the context into the task block
updated_task_content = f"{task_start}Context: {context_str}\n" + \
f"Query: {task_content.strip()}</details>{task_end}"
updated_task_content = (
f"{task_start}Context: {context_str}\n"
+ f"Query: {task_content.strip()}</details>{task_end}"
)

# Combine the updated task block with the rest of the message
context_msg = updated_task_content + rest_of_message
Expand Down

0 comments on commit 19208e5

Please sign in to comment.