mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 23:54:19 +01:00
🏃 fix: run function
This commit is contained in:
@@ -153,9 +153,9 @@ The test must not set any environment variables which require a key.
|
|||||||
|
|
||||||
|
|
||||||
template_generate_requirements = PromptTemplate.from_template(
|
template_generate_requirements = PromptTemplate.from_template(
|
||||||
general_guidelines_string + '''
|
general_guidelines_string + f'''
|
||||||
|
|
||||||
{code_files_wrapped}
|
{{code_files_wrapped}}
|
||||||
|
|
||||||
Write the content of the requirements.txt file like this:
|
Write the content of the requirements.txt file like this:
|
||||||
**requirements.txt**
|
**requirements.txt**
|
||||||
@@ -165,9 +165,11 @@ Write the content of the requirements.txt file like this:
|
|||||||
Add any more packages that are needed to run the code.
|
Add any more packages that are needed to run the code.
|
||||||
You must not add gpt_3_5_turbo to the requirements.txt file.
|
You must not add gpt_3_5_turbo to the requirements.txt file.
|
||||||
|
|
||||||
All versions are fixed using ~=, ==, <, >, <=, >=. The package versions must not have conflicts. Output only the requirements.txt file.
|
All versions are fixed using ~=, ==, <, >, <=, >=. The package versions must not have conflicts.
|
||||||
''' + '\n' + template_code_wrapping_string
|
|
||||||
)
|
{template_code_wrapping_string}
|
||||||
|
Note: you must only output the requirements.txt file - no other file.
|
||||||
|
''')
|
||||||
|
|
||||||
|
|
||||||
template_generate_apt_get_install = PromptTemplate.from_template(
|
template_generate_apt_get_install = PromptTemplate.from_template(
|
||||||
|
|||||||
Reference in New Issue
Block a user