Update app.py
Browse files
app.py
CHANGED
@@ -252,12 +252,11 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
252 |
"""
|
253 |
combined_system_prompt = default_system_prompt + "\n\n" + my_added_prompts
|
254 |
# (4) Create the prompt templates to plug in CodeAgent
|
255 |
-
default_prompt_templates = PromptTemplates()
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
"final_answer": default_prompt_templates["final_answer"]}
|
261 |
# my_prompt_templates = PromptTemplates(system_prompt=combined_system_prompt,
|
262 |
# planning=default_prompt_templates["planning"],
|
263 |
# managed_agent=default_prompt_templates["managed_agent"],
|
|
|
252 |
"""
|
253 |
combined_system_prompt = default_system_prompt + "\n\n" + my_added_prompts
|
254 |
# (4) Create the prompt templates to plug in CodeAgent
|
255 |
+
# default_prompt_templates = PromptTemplates()
|
256 |
+
my_prompt_templates = {"system_prompt": combined_system_prompt}
|
257 |
+
# "planning": default_prompt_templates["planning"],
|
258 |
+
# "managed_agent": default_prompt_templates["managed_agent"],
|
259 |
+
# "final_answer": default_prompt_templates["final_answer"]}
|
|
|
260 |
# my_prompt_templates = PromptTemplates(system_prompt=combined_system_prompt,
|
261 |
# planning=default_prompt_templates["planning"],
|
262 |
# managed_agent=default_prompt_templates["managed_agent"],
|