Skip to content

Commit 50564eb

Browse files
authored
Merge pull request #36 from mohammadll/master
fix(helm_prompt): resolve syntax error in model response
2 parents 35ebe7f + 81d6710 commit 50564eb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

app/prompt_generators.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def helm_template_generator(input : HelmTemplateGeneration) -> str:
6969

7070
prompt = f"""
7171
generate a correct python code to generate a helm project structure (project name: app/media/MyHelm)
72-
based on the latest version of helm chart.
72+
based on the latest version of helm chart. Only provide Python code, no explanations or markdown formatting.
7373
just generate a code to generate a folder as project template. don't consider base_dir
7474
7575
consider these directories : [charts/,templates/]
@@ -97,8 +97,6 @@ def helm_template_generator(input : HelmTemplateGeneration) -> str:
9797
please set a something default in chart.yaml and values.yaml based on the requirement.
9898
9999
in the final stage, put helpers.tpl in all templates and set the content based on information given.
100-
101-
just Generate a python code without any additional notes or ```python3 entry
102100
"""
103101
return prompt
104102

0 commit comments

Comments
 (0)