Commit 8c3cc85
Align gen_ai.tool_definitions with JSON Schema and add it to completion hook (#4181)
* add gen_ai.tool_definitions to completion hook
* hash tool defintions
* Update CHANGELOG
* make tool.defintions optional in on_completion
* fix lint errors
* add gen_ai.tool_definitions to completion hook
* hash tool defintions
* fix CompetionHook docstring
* fix lint test
* add gen_ai.tool_definitions to completion hook
* hash tool defintions
* Update CHANGELOG
* align tool.defintions with JSON schema
* fix tests
* fix ruff
* fix unexpected indent
* use local changes from util/opentelemetry-util-genai
* fix ruff
* add gen_ai.tool_definitions to completion hook
* re-add changes lost during merge
* put tool.defintions in the telemetry by default and the params behind the flag
* fix: Too many local variables
* address comments
* Add comments to udpate of util-genai version after release
---------
Co-authored-by: Aaron Abbott <aaronabbott@google.com>1 parent 22e31a5 commit 8c3cc85
File tree
10 files changed
+535
-143
lines changed- instrumentation-genai/opentelemetry-instrumentation-google-genai
- src/opentelemetry/instrumentation/google_genai
- tests
- generate_content
- util/opentelemetry-util-genai
- src/opentelemetry/util/genai
- _upload
- tests
10 files changed
+535
-143
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments