Skip to content

Commit df69976

Browse files
committed
Update CustomizeSolution.md
1 parent b346430 commit df69976

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

documentation/CustomizeSolution.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,40 @@ Update the `initialize_runtime_and_context` function in `utils.py` to include th
150150
}
151151
)
152152
```
153-
154-
### **Step 4: Validate the Integration**
153+
### **Step 4: Update home page**
154+
Update `src/frontend/wwwroot/home/home.html` adding new html block
155+
156+
1. **Add a new UI element was added to allow users to request baking tasks from the BakerAgent**
157+
```html
158+
<div class="column">
159+
<div class="card is-hoverable quick-task">
160+
<div class="card-content">
161+
<i class="fa-solid fa-list-check has-text-info mb-3"></i><br />
162+
<strong>Bake Cookies</strong>
163+
<p class="quick-task-prompt">Please bake 12 chocolate chip cookies for tomorrow's event.</p>
164+
</div>
165+
</div>
166+
</div>
167+
```
168+
### **Step 5: Update tasks**
169+
Update `src/frontend/wwwroot/task/task.js`
170+
171+
1. **Add `BakerAgent` as a recognized agent type in the frontend JavaScript file**
172+
```js
173+
case "BakerAgent":
174+
agentIcon = "manager";
175+
break;
176+
```
177+
### **Step 6: Validate the Integration**
155178
Deploy the updated system and ensure the new agent is properly included in the planning process. For example, if the user requests to bake cookies, the `PlannerAgent` should:
156179

157180
- Identify the `BakerAgent` as the responsible agent.
158181
- Call `bake_cookies` or `prepare_dough` from the agent's toolset.
159182

160-
### **Step 5: Update Documentation**
183+
### **Step 7: Update Documentation**
161184
Ensure that the system documentation reflects the addition of the new agent and its capabilities. Update the `README.md` and any related technical documentation to include information about the `BakerAgent`.
162185

163-
### **Step 6: Testing**
186+
### **Step 8: Testing**
164187
Thoroughly test the agent in both automated and manual scenarios. Verify that:
165188

166189
- The agent responds correctly to tasks.

0 commit comments

Comments
 (0)