Commit 7a853a3
committed
feat: update dependencies and improve logging and storage configurations
- Updated the version of `@ai-sdk/google` from `^2.0.52` to `^3.0.6` in `package.json` and `package-lock.json`.
- Added `cross-env` as a dependency in `package.json` to manage environment variables in scripts.
- Modified the `dev:mastra` and `dev:next` scripts in `package.json` to use `cross-env` for setting `NODE_OPTIONS`.
- Enhanced the logger configuration in `logger.ts` by removing OpenTelemetry tracing logic and simplifying log data structure.
- Updated `pg-storage.ts` to use `ModelRouterEmbeddingModel` instead of `google.textEmbedding` for embedding generation.
- Refactored `ChunkingService.ts` and `EmbeddingService.ts` to utilize `ModelRouterEmbeddingModel` for embedding tasks.
- Removed unnecessary tracing logic from `generateEmbeddings` function in `pg-storage.ts`.
- Updated statistics in `SDK_CRAWLER_STATISTICS_0.json` and `SDK_SESSION_POOL_STATE.json` to reflect new values and session details.
- Deleted unused request queue file `jBMmaaywUPlwSK3.json`.
- Improved documentation in `AGENTS.md` regarding observability imports and usage.
- Refactored various service files to ensure consistent usage of embedding models and logging practices.1 parent abe7289 commit 7a853a3
15 files changed
Lines changed: 219 additions & 174 deletions
File tree
- src/mastra
- config
- public/storage
- key_value_stores/default
- request_queues/default
- services
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 16 | | |
50 | 17 | | |
51 | 18 | | |
| |||
87 | 54 | | |
88 | 55 | | |
89 | 56 | | |
90 | | - | |
| 57 | + | |
91 | 58 | | |
92 | 59 | | |
93 | 60 | | |
94 | | - | |
95 | | - | |
96 | 61 | | |
97 | 62 | | |
98 | 63 | | |
99 | 64 | | |
100 | 65 | | |
101 | | - | |
102 | 66 | | |
103 | 67 | | |
104 | 68 | | |
| |||
109 | 73 | | |
110 | 74 | | |
111 | 75 | | |
112 | | - | |
| 76 | + | |
113 | 77 | | |
114 | 78 | | |
115 | 79 | | |
116 | 80 | | |
117 | | - | |
118 | | - | |
119 | 81 | | |
120 | 82 | | |
121 | 83 | | |
122 | 84 | | |
123 | 85 | | |
124 | 86 | | |
125 | | - | |
126 | 87 | | |
127 | 88 | | |
128 | 89 | | |
| |||
132 | 93 | | |
133 | 94 | | |
134 | 95 | | |
135 | | - | |
| 96 | + | |
136 | 97 | | |
137 | 98 | | |
138 | 99 | | |
139 | | - | |
140 | | - | |
141 | 100 | | |
142 | 101 | | |
143 | 102 | | |
144 | 103 | | |
145 | 104 | | |
146 | | - | |
147 | 105 | | |
148 | 106 | | |
149 | 107 | | |
| |||
154 | 112 | | |
155 | 113 | | |
156 | 114 | | |
157 | | - | |
| 115 | + | |
158 | 116 | | |
159 | 117 | | |
160 | 118 | | |
161 | 119 | | |
162 | | - | |
163 | | - | |
164 | 120 | | |
165 | 121 | | |
166 | 122 | | |
167 | 123 | | |
168 | 124 | | |
169 | 125 | | |
170 | | - | |
171 | 126 | | |
172 | 127 | | |
173 | 128 | | |
| |||
178 | 133 | | |
179 | 134 | | |
180 | 135 | | |
181 | | - | |
| 136 | + | |
182 | 137 | | |
183 | 138 | | |
184 | 139 | | |
185 | 140 | | |
186 | | - | |
187 | | - | |
188 | 141 | | |
189 | 142 | | |
190 | 143 | | |
191 | 144 | | |
192 | 145 | | |
193 | 146 | | |
194 | | - | |
195 | 147 | | |
196 | 148 | | |
197 | 149 | | |
| |||
202 | 154 | | |
203 | 155 | | |
204 | 156 | | |
205 | | - | |
| 157 | + | |
206 | 158 | | |
207 | 159 | | |
208 | 160 | | |
209 | 161 | | |
210 | | - | |
211 | | - | |
212 | 162 | | |
213 | 163 | | |
214 | 164 | | |
215 | 165 | | |
216 | 166 | | |
217 | 167 | | |
218 | | - | |
219 | 168 | | |
220 | 169 | | |
221 | 170 | | |
| |||
226 | 175 | | |
227 | 176 | | |
228 | 177 | | |
229 | | - | |
| 178 | + | |
230 | 179 | | |
231 | 180 | | |
232 | 181 | | |
233 | 182 | | |
234 | 183 | | |
235 | | - | |
236 | | - | |
237 | 184 | | |
238 | 185 | | |
239 | 186 | | |
240 | 187 | | |
241 | 188 | | |
242 | 189 | | |
243 | 190 | | |
244 | | - | |
245 | 191 | | |
246 | 192 | | |
247 | 193 | | |
| |||
252 | 198 | | |
253 | 199 | | |
254 | 200 | | |
255 | | - | |
| 201 | + | |
256 | 202 | | |
257 | 203 | | |
258 | 204 | | |
259 | 205 | | |
260 | 206 | | |
261 | | - | |
262 | | - | |
263 | 207 | | |
264 | 208 | | |
265 | 209 | | |
266 | 210 | | |
267 | 211 | | |
268 | 212 | | |
269 | 213 | | |
270 | | - | |
271 | 214 | | |
272 | 215 | | |
273 | 216 | | |
0 commit comments