Update app.py
Browse filesBack to origal?
app.py
CHANGED
|
@@ -53,10 +53,10 @@ model = HfApiModel(
|
|
| 53 |
|
| 54 |
with open("prompts.yaml", 'r') as stream:
|
| 55 |
prompt_templates = yaml.safe_load(stream)
|
| 56 |
-
print(f"SYSTEM PROMPT=> {prompt_templates['system_prompt']}")
|
| 57 |
-
print("-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-")
|
| 58 |
-
print(f"MANAGED AGENT=> {prompt_templates['system_prompt']}")
|
| 59 |
-
print("-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-")
|
| 60 |
|
| 61 |
agent = CodeAgent(
|
| 62 |
model=model,
|
|
|
|
| 53 |
|
| 54 |
with open("prompts.yaml", 'r') as stream:
|
| 55 |
prompt_templates = yaml.safe_load(stream)
|
| 56 |
+
# print(f"SYSTEM PROMPT=> {prompt_templates['system_prompt']}")
|
| 57 |
+
# print("-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-")
|
| 58 |
+
# print(f"MANAGED AGENT=> {prompt_templates['system_prompt']}")
|
| 59 |
+
# print("-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-")
|
| 60 |
|
| 61 |
agent = CodeAgent(
|
| 62 |
model=model,
|