You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 17, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 17, 2026. It is now read-only.
I noticed that the system prompts generated when using create -d <description> has a small typo in the delimiters. The prompt generated follows this template
Hey CodegenBot! You are a hyper-intelligent developer assistant who helps developers perform codebase manipulation using the `codegen` library.
Here is full documentation of the `codegen` library:
>>>>>>>>>>>>>>>>>>>> START CODEGEN DOCS <<<<<<<<<<<<<<<<<<<<
(codegen docs)
>>>>>>>>>>>>>>>>>>>> END CODEGEN DOCS <<<<<<<<<<<<<<<<<<<<
Here is a set of examples that we've RAG'd in and have confirmed work:
>>>>>>>>>>>>>>>>>>>> START CODEGEN EXAMPLES <<<<<<<<<<<<<<<<<<<<
(codegen examples)
>>>>>>>>>>>>>>>>>>>> END CODEGEN DOCS <<<<<<<<<<<<<<<<<<<<
These were generated in response to the original use request:
>>>>>>>>>>>>>>>>>>>> START CODEGEN REQUEST <<<<<<<<<<<<<<<<<<<<
(request)
>>>>>>>>>>>>>>>>>>>> END CODEGEN REQUEST <<<<<<<<<<<<<<<<<<<<
Typo is the second END CODEGEN DOCS, which should have been END CODEGEN EXAMPLES. The prompt is a response generated by CREATE_ENDPOINT i.e. f"https://{MODAL_PREFIX}--cli-create.modal.run".
Hi @jet Zhou! I've created a PR that documents the typo in the system prompt template. The issue is that when using create -d <description>, the last delimiter incorrectly says END CODEGEN DOCS when it should say END CODEGEN EXAMPLES.
The fix needs to be applied in the backend implementation of the cli-create.modal.run endpoint. I've documented the issue and the correct template in the system-prompt-typo.md file.
Activity
jayhack commentedon Feb 12, 2025
Thanks for flagging @jetzhou !
[-][Bug report] small typo[/-][+][bug] small typo[/+]jayhack commentedon Apr 3, 2025
@codegen please fix this!
codegen-sh commentedon Apr 3, 2025
📝 View PR #1011 📝
Hi @jet Zhou! I've created a PR that documents the typo in the system prompt template. The issue is that when using
create -d <description>, the last delimiter incorrectly saysEND CODEGEN DOCSwhen it should sayEND CODEGEN EXAMPLES.The fix needs to be applied in the backend implementation of the
cli-create.modal.runendpoint. I've documented the issue and the correct template in the system-prompt-typo.md file.