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

Commit d58e9b3

Browse files
authored
Merge pull request #278 from stacklok/encrypt-secrets-first
Move secret encryption step to the top of input processing
2 parents 00df164 + 1394edb commit d58e9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegate/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ def init_app() -> FastAPI:
5151

5252
# Define input pipeline steps
5353
input_steps: List[PipelineStep] = [
54+
CodegateSecrets(),
5455
CodegateVersion(),
5556
CodeSnippetExtractor(),
5657
SystemPrompt(Config.get_config().prompts.default_chat),
5758
CodegateContextRetriever(),
58-
CodegateSecrets(),
5959
]
6060

6161
# Define FIM pipeline steps

0 commit comments

Comments
 (0)