mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-24 00:54:19 +01:00
fix: fix typos
This commit is contained in:
@@ -36,8 +36,7 @@ class Generator:
|
||||
return ''
|
||||
|
||||
def write_config_yml(self, microservice_name, dest_folder):
|
||||
config_content = f'''
|
||||
jtype: {microservice_name}
|
||||
config_content = f'''jtype: {microservice_name}
|
||||
py_modules:
|
||||
- microservice.py
|
||||
metas:
|
||||
@@ -198,11 +197,12 @@ metas:
|
||||
key in ['requirements.txt', 'Dockerfile']
|
||||
})
|
||||
user_query = template_solve_dependency_issue.format(
|
||||
description=self.task_description, summarized_error=summarized_error, all_files_string=all_files_string,
|
||||
summarized_error=summarized_error, all_files_string=all_files_string,
|
||||
)
|
||||
else:
|
||||
user_query = template_solve_code_issue.format(
|
||||
description=self.task_description, summarized_error=summarized_error, all_files_string=self.files_to_string(file_name_to_content),
|
||||
task_description=self.task_description, test_description=self.test_description,
|
||||
summarized_error=summarized_error, all_files_string=self.files_to_string(file_name_to_content),
|
||||
)
|
||||
conversation = self.gpt_session.get_conversation()
|
||||
returned_files_raw = conversation.chat(user_query)
|
||||
|
||||
@@ -220,10 +220,10 @@ template_solve_code_issue = PromptTemplate.from_template(
|
||||
''' + not_allowed_executor_string + '''
|
||||
|
||||
Here is the description of the task the executor must solve:
|
||||
{description}
|
||||
{task_description}
|
||||
|
||||
Here is the test scenario the executor must pass:
|
||||
{test}
|
||||
{test_description}
|
||||
Here are all the files I use:
|
||||
{all_files_string}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user