Commit c20b728
authored
feat(gen_ai): Add details to gen_ai.request.messages (#122)
Update the description and example of `gen_ai.request.messages` to be more strict.
The `role` of a message must be one of `"user"`, `"assistant"`, `"tool"`, or `"system"`.
Added missing information about `tool` messages and more details regarding the object structure of message content.1 parent d56e042 commit c20b728
File tree
3 files changed
+6
-6
lines changed- generated/attributes
- javascript/sentry-conventions/src
- model/attributes/gen_ai
3 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2289 | 2289 | | |
2290 | 2290 | | |
2291 | 2291 | | |
2292 | | - | |
| 2292 | + | |
2293 | 2293 | | |
2294 | 2294 | | |
2295 | 2295 | | |
| |||
2299 | 2299 | | |
2300 | 2300 | | |
2301 | 2301 | | |
2302 | | - | |
| 2302 | + | |
2303 | 2303 | | |
2304 | 2304 | | |
2305 | 2305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
0 commit comments