yetessam commited on
Commit
2e2bbf5
·
verified ·
1 Parent(s): 438bc18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -19,8 +19,10 @@ from prompts import load_prompts
19
  def initialize_agent(endpoint_uri: str):
20
 
21
  # Load prompts
22
- custom_prompts = load_prompts()
23
- print(custom_prompts)
 
 
24
  combined_tools = load_tools() ## from the tools folder (don't remove final answer)
25
 
26
  """Initialize and configure the CodeAgent"""
 
19
  def initialize_agent(endpoint_uri: str):
20
 
21
  # Load prompts
22
+
23
+ with open("config/prompts.yaml", 'r') as stream:
24
+ custom_prompts = yaml.safe_load(stream)
25
+
26
  combined_tools = load_tools() ## from the tools folder (don't remove final answer)
27
 
28
  """Initialize and configure the CodeAgent"""