diff --git a/src/options/generate/generator.py b/src/options/generate/generator.py index d7577e7..7c52e76 100644 --- a/src/options/generate/generator.py +++ b/src/options/generate/generator.py @@ -430,7 +430,7 @@ gptdeploy deploy --path {self.microservice_root_path} messages, 'test', '''Note that the test scenario must not contain information that was already mentioned in the microservice description. -Note that the test scenario must contain the full description of the concrete example in case it was mentioned in the microservice description.''' +Note that you must not ask for information that were already mentioned before.''' ) break except self.TaskRefinementException as e: @@ -453,7 +453,8 @@ Test scenario: agent_response_raw = conversation.chat( template_refinement.format( user_input=user_input, - _optional_test=' test' if refinement_type == 'test' else '', + final_placeholder='''input: "" +weak assertion of output: ""''' if refinement_type == 'test' else '', custom_suffix=custom_suffix, ), role='user' diff --git a/src/options/generate/templates_user.py b/src/options/generate/templates_user.py index 21f8e5f..c1c81a1 100644 --- a/src/options/generate/templates_user.py +++ b/src/options/generate/templates_user.py @@ -367,7 +367,7 @@ Either ask for clarification like this: Or write the summarized microservice{_optional_test} description like this: **final.txt** ```text - +{final_placeholder} ``` Note that your response must be either prompt.txt or final.txt. You must not write both. Note that you must obey the double asterisk and tripple backtick syntax from above.