Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Commit
•
092af19
1
Parent(s):
5c92acd
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ class BaseTool(Tool):
|
|
28 |
|
29 |
def run(self, arguments: str) -> str:
|
30 |
raise NotImplementedError
|
31 |
-
|
32 |
# Specific tool implementations
|
33 |
class CodeGenerationTool(BaseTool):
|
34 |
def __init__(self):
|
@@ -67,7 +67,7 @@ class TextGenerationTool(BaseTool):
|
|
67 |
|
68 |
def run(self, arguments: str) -> str:
|
69 |
return self.chain.run(prompt=arguments)
|
70 |
-
|
71 |
# Specialized Agent Definitions
|
72 |
class SpecializedAgent(Agent):
|
73 |
def __init__(self, name, role, tools, knowledge_base=None):
|
|
|
28 |
|
29 |
def run(self, arguments: str) -> str:
|
30 |
raise NotImplementedError
|
31 |
+
|
32 |
# Specific tool implementations
|
33 |
class CodeGenerationTool(BaseTool):
|
34 |
def __init__(self):
|
|
|
67 |
|
68 |
def run(self, arguments: str) -> str:
|
69 |
return self.chain.run(prompt=arguments)
|
70 |
+
|
71 |
# Specialized Agent Definitions
|
72 |
class SpecializedAgent(Agent):
|
73 |
def __init__(self, name, role, tools, knowledge_base=None):
|