Repository navigation
Commit f4a5dd3
authored
feat(google-genai): Trace decision calls (#2774)
- Add tracing for `client.decisions.create()` through `wrapGoogleGenAI`
and automatic instrumentation. These calls previously produced no
decision spans.
- Record inputs, questions, answers, model details, and token usage.
Convert Google’s `noul` answers to boolean probabilities in traces.
- Capture media inputs as attachments, subject to the existing
attachment and audio capture settings.1 parent 7801fc3 commit f4a5dd3
29 files changed
Lines changed: 3005 additions & 1 deletion
File tree
- .changeset
- e2e
- config
- scenarios/google-genai-decisions-instrumentation
- __cassettes__
- google-genai-decisions-v3-latest.cassette.blobs
- google-genai-decisions-v3.cassette.blobs
- __snapshots__
- js/src
- auto-instrumentations/configs
- instrumentation/plugins
- vendor-sdk-types
- wrappers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
391 | 406 | | |
392 | 407 | | |
393 | 408 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments