bharatcoder commited on
Commit
e454a25
·
verified ·
1 Parent(s): 043d1d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ try:
20
  api_base=os.getenv("LLM_BASSE_URL"),
21
  api_key=os.getenv("LLM_API_TOKEN"),
22
  )
23
- agent = CodeAgent(tools=[*tools], model=model, system_prompt=system_prompt, additional_authorized_imports=["json", "ast", "urllib", "base64"])
24
 
25
  demo = gr.ChatInterface(
26
  fn=lambda message, history: str(agent.run(message)),
 
20
  api_base=os.getenv("LLM_BASSE_URL"),
21
  api_key=os.getenv("LLM_API_TOKEN"),
22
  )
23
+ agent = CodeAgent(tools=[*tools], model=model, instructions=system_prompt, additional_authorized_imports=["json", "ast", "urllib", "base64"])
24
 
25
  demo = gr.ChatInterface(
26
  fn=lambda message, history: str(agent.run(message)),