betki commited on
Commit
2b69f90
·
verified ·
1 Parent(s): 1102e0d

added model

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -13,6 +13,8 @@ try:
13
  )
14
 
15
  tools = mcp_client.get_tools()
 
 
16
  agent = CodeAgent(tools=[*tools], model=model)
17
 
18
  def call_agent(message, history):
@@ -28,4 +30,4 @@ try:
28
 
29
  demo.launch()
30
  finally:
31
- mcp_client.stop()
 
13
  )
14
 
15
  tools = mcp_client.get_tools()
16
+
17
+ model = InferenceClientModel()
18
  agent = CodeAgent(tools=[*tools], model=model)
19
 
20
  def call_agent(message, history):
 
30
 
31
  demo.launch()
32
  finally:
33
+ mcp_client.disconnect()