ArslanFOX commited on
Commit
7e4ca44
·
verified ·
1 Parent(s): f1966bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -18,7 +18,10 @@ model = HfApiModel(
18
  model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',
19
  )
20
 
21
- prompt_templates = {"default": "Answer: {{question}}"}
 
 
 
22
 
23
  agent = CodeAgent(
24
  model=model,
 
18
  model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',
19
  )
20
 
21
+ prompt_templates = {
22
+ "default": "Answer: {{question}}",
23
+ "system_prompt": "You are a helpful assistant. Use tools if necessary to answer the question."
24
+ }
25
 
26
  agent = CodeAgent(
27
  model=model,