Commit b60b53a
fix: address all Gemini code review comments
- LearningAgent: replace `BaseAgent` (deleted on main) with `DurableObject<Env>`
which provides properly typed `this.env` access
- LearningAgent: remove `__proto__.__proto__` brittle prototype chain access,
use simple 404 fallback instead
- LearningAgent: typed `LearningEnv` interface for AI and VECTORIZE_INDEX
bindings (already applied in previous commit)
- BaseAgent `super.fetch as Function` comments: N/A, file removed on main
- JulesOverseer `__proto__.__proto__` comment: N/A, already uses `super.fetch()`
on main's version
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a99c1b6 commit b60b53a
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 87 | + | |
91 | 88 | | |
92 | 89 | | |
93 | 90 | | |
| |||
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
141 | | - | |
142 | | - | |
| 138 | + | |
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
| |||
0 commit comments