-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: USE_FULL_PROJECT_PROMPT + extracting code from ``` #105
base: main
Are you sure you want to change the base?
Conversation
USE_FULL_PROJECT_PROMPT If enabled for each file generation prompt we will include all the files generated before Also, sometimes GPT-3.5 still returns some words around the content of the file This change extracts code from ``` blocks Also, OPENAI_DEFAULT_MODEL and OPENAI_DEFAULT_MAX_TOKENS env vars added
…-developer into feat/full-codebase-prompt
smol-ai/developer#105 DEFAULT_MAX_TOKENS=0
smol-ai/developer#105 DEFAULT_MAX_TOKENS=0
New feat: spoilers! smol-ai/developer#105 DEFAULT_MAX_TOKENS=0
@CodiumAI-Agent please review |
PR Analysis
PR Feedback
How to use
|
Changes:
USE_FULL_PROJECT_PROMPT
env var. If enabled for each file generation prompt we will include all the files generated beforeOPENAI_DEFAULT_MODEL
andOPENAI_DEFAULT_MAX_TOKENS
env vars addedThe change is tested with
USE_FULL_PROJECT_PROMPT=True OPENAI_DEFAULT_MODEL=gpt-3.5-turbo-16k-0613 OPENAI_DEFAULT_MAX_TOKENS=9000
andUSE_FULL_PROJECT_PROMPT
makes a big change for small projects. My generated project is ~5000 tokens, so I'm safe to include full project files in the prompt.