Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -108,6 +108,15 @@ class AIAgent:
|
|
108 |
file.write("\n" + code)
|
109 |
return f"Code added to '{file_name}' in project '{project_name}'."
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
def main():
|
112 |
st.title("AI-Guided Workspace")
|
113 |
|
|
|
108 |
file.write("\n" + code)
|
109 |
return f"Code added to '{file_name}' in project '{project_name}'."
|
110 |
|
111 |
+
# Initialize example agents
|
112 |
+
example_agents = [
|
113 |
+
AIAgent(
|
114 |
+
name="CodeAssistant",
|
115 |
+
description="An AI agent that helps with coding tasks",
|
116 |
+
skills=["create_project", "create_file", "add_code_to_file"]
|
117 |
+
)
|
118 |
+
]
|
119 |
+
|
120 |
def main():
|
121 |
st.title("AI-Guided Workspace")
|
122 |
|