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

Commit d12bc75

Browse files
committed
Disable codegate system prompt
It was inserting a custom prompt even if there was one already. Pankaj is working on fixing that, but until we do, let's disable the step to avoid getting 400s if the client sends a system message.
1 parent ade60a1 commit d12bc75

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
@@ -40,7 +40,7 @@ def init_app() -> FastAPI:
4040
steps: List[PipelineStep] = [
4141
CodegateVersion(),
4242
CodeSnippetExtractor(),
43-
CodegateSystemPrompt(Config.get_config().prompts.codegate_chat),
43+
#CodegateSystemPrompt(Config.get_config().prompts.codegate_chat),
4444
CodegateContextRetriever(Config.get_config().prompts.codegate_chat),
4545
CodegateSecrets(),
4646
]

0 commit comments

Comments
 (0)