Skip to content

Commit

Permalink
Merge pull request #278 from stacklok/encrypt-secrets-first
Browse files Browse the repository at this point in the history
Move secret encryption step to the top of input processing
  • Loading branch information
ptelang authored Dec 11, 2024
2 parents 00df164 + 1394edb commit d58e9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegate/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def init_app() -> FastAPI:

# Define input pipeline steps
input_steps: List[PipelineStep] = [
CodegateSecrets(),
CodegateVersion(),
CodeSnippetExtractor(),
SystemPrompt(Config.get_config().prompts.default_chat),
CodegateContextRetriever(),
CodegateSecrets(),
]

# Define FIM pipeline steps
Expand Down

0 comments on commit d58e9b3

Please sign in to comment.