Spaces:
Build error
Build error
acecalisto3
commited on
Commit
•
7b74f98
1
Parent(s):
1b7ffe2
Update agents.py
Browse files
agents.py
CHANGED
@@ -43,7 +43,7 @@ I am confident that I can leverage my expertise to assist you in developing and
|
|
43 |
def autonomous_build(self, chat_history: List[tuple[str, str]], workspace_projects: Dict[str, Dict],
|
44 |
project_name: str, selected_model: str, hf_token: str) -> tuple[str, str]:
|
45 |
summary = "Chat History:\n" + "\n".join([f"User: {u}\nAgent: {a}" for u, a in chat_history])
|
46 |
-
summary += "\n\nWorkspace Projects:\n" + "\n.join([f"{p}: {details}" for p, details in workspace_projects.items()])
|
47 |
next_step = "Based on the current state, the next logical step is to implement the main application logic."
|
48 |
return summary, next_step
|
49 |
|
|
|
43 |
def autonomous_build(self, chat_history: List[tuple[str, str]], workspace_projects: Dict[str, Dict],
|
44 |
project_name: str, selected_model: str, hf_token: str) -> tuple[str, str]:
|
45 |
summary = "Chat History:\n" + "\n".join([f"User: {u}\nAgent: {a}" for u, a in chat_history])
|
46 |
+
summary += "\n\nWorkspace Projects:\n" + "\n".join([f"{p}: {details}" for p, details in workspace_projects.items()])
|
47 |
next_step = "Based on the current state, the next logical step is to implement the main application logic."
|
48 |
return summary, next_step
|
49 |
|