SurabhiT commited on
Commit
1cb0984
·
verified ·
1 Parent(s): 711f67b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -49,6 +49,7 @@ class agentCollection:
49
  verbose=True,
50
  tools=[toolsCollection.toolPDF(filepath)],
51
  llm=llm,
 
52
 
53
  )
54
  return agentpdf
@@ -61,6 +62,7 @@ class agentCollection:
61
  verbose=True,
62
  tools=[toolsCollection.toolFile(filepath)],
63
  llm=llm,
 
64
 
65
  )
66
  return agentfile
@@ -73,6 +75,7 @@ class agentCollection:
73
  verbose=True,
74
  tools=[toolsCollection.toolTXT(filepath)],
75
  llm=llm,
 
76
 
77
  )
78
  return agenttxt
@@ -85,6 +88,7 @@ class agentCollection:
85
  verbose=True,
86
  tools=[toolsCollection.toolDOCX(filepath)],
87
  llm=llm,
 
88
 
89
  )
90
  return agentdoc
 
49
  verbose=True,
50
  tools=[toolsCollection.toolPDF(filepath)],
51
  llm=llm,
52
+ allow_delegation=False
53
 
54
  )
55
  return agentpdf
 
62
  verbose=True,
63
  tools=[toolsCollection.toolFile(filepath)],
64
  llm=llm,
65
+ allow_delegation=False
66
 
67
  )
68
  return agentfile
 
75
  verbose=True,
76
  tools=[toolsCollection.toolTXT(filepath)],
77
  llm=llm,
78
+ allow_delegation=False
79
 
80
  )
81
  return agenttxt
 
88
  verbose=True,
89
  tools=[toolsCollection.toolDOCX(filepath)],
90
  llm=llm,
91
+ allow_delegation=False
92
 
93
  )
94
  return agentdoc