Skip to content

Commit 21874c6

Browse files
committed
Fixes with much thanks to student Wenjie T!
1 parent 2440b0d commit 21874c6

File tree

6 files changed

+13
-21
lines changed

6 files changed

+13
-21
lines changed

extras/trading/prototype_trader.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
"name": "python",
347347
"nbconvert_exporter": "python",
348348
"pygments_lexer": "ipython3",
349-
"version": "3.11.10"
349+
"version": "3.11.11"
350350
}
351351
},
352352
"nbformat": 4,

week1/troubleshooting.ipynb

+8
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,14 @@
405405
"from diagnostics import Diagnostics\n",
406406
"Diagnostics().run()"
407407
]
408+
},
409+
{
410+
"cell_type": "code",
411+
"execution_count": null,
412+
"id": "e1955b9a-d344-4782-b448-2770d0edd90c",
413+
"metadata": {},
414+
"outputs": [],
415+
"source": []
408416
}
409417
],
410418
"metadata": {

week6/day4.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
"name": "python",
399399
"nbconvert_exporter": "python",
400400
"pygments_lexer": "ipython3",
401-
"version": "3.11.10"
401+
"version": "3.11.11"
402402
}
403403
},
404404
"nbformat": 4,

week8/day5.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"outputs": [],
8989
"source": [
9090
"agent_framework = DealAgentFramework()\n",
91+
"agent_framework.init_agents_as_needed()\n",
9192
"\n",
9293
"with gr.Blocks(title=\"The Price is Right\", fill_width=True) as ui:\n",
9394
"\n",
@@ -176,7 +177,7 @@
176177
{
177178
"cell_type": "code",
178179
"execution_count": null,
179-
"id": "096397f9-1215-4814-ab4b-e32002ff4ceb",
180+
"id": "f9dd0a27-7d46-4c9e-bbe4-a61c9c899c99",
180181
"metadata": {},
181182
"outputs": [],
182183
"source": []

week8/memory.json

-18
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,5 @@
1616
},
1717
"estimate": 930.8824204895075,
1818
"discount": 225.88242048950747
19-
},
20-
{
21-
"deal": {
22-
"product_description": "The Insignia Class F30 Series NS-55F301NA25 is a 55\" 4K HDR UHD Smart TV with a native resolution of 3840x2160. Featuring HDR support, it enhances color and contrast for a more dynamic viewing experience. The TV integrates seamlessly with Amazon Fire TV, working with both Amazon Alexa and Google Home for voice control. It offers three HDMI ports for multiple device connections, making it a perfect entertainment hub for your living space.",
23-
"price": 200.0,
24-
"url": "https://www.dealnews.com/products/Insignia/Insignia-Class-F30-Series-NS-55-F301-NA25-55-4-K-HDR-LED-UHD-Smart-TV/467523.html?iref=rss-f1912"
25-
},
26-
"estimate": 669.1921927283588,
27-
"discount": 469.1921927283588
28-
},
29-
{
30-
"deal": {
31-
"product_description": "The Samsung 27-Cu. Ft. Mega Capacity 3-Door French Door Counter Depth Refrigerator combines style with spacious organization. This model features a dual auto ice maker, which ensures you always have ice on hand, and adjustable shelves that provide versatile storage options for your groceries. Designed with a sleek, fingerprint resistant finish, it not only looks modern but also simplifies cleaning. With its generous capacity, this refrigerator is perfect for large households or those who love to entertain.",
32-
"price": 1299.0,
33-
"url": "https://www.dealnews.com/products/Samsung/Samsung-27-Cu-Ft-Mega-Capacity-3-Door-French-Door-Counter-Depth-Refrigerator/454702.html?iref=rss-c196"
34-
},
35-
"estimate": 2081.647127763905,
36-
"discount": 782.6471277639048
3719
}
3820
]

week8/price_is_right_final.py

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def __init__(self):
4545
def get_agent_framework(self):
4646
if not self.agent_framework:
4747
self.agent_framework = DealAgentFramework()
48+
self.agent_framework.init_agents_as_needed()
4849
return self.agent_framework
4950

5051
def run(self):

0 commit comments

Comments
 (0)