Skip to content

Conversation

ZStriker19
Copy link
Contributor

@ZStriker19 ZStriker19 commented Aug 21, 2025

What does this PR do? What is the motivation?

Update toolcalls and toolresults docs once this is in: DataDog/dd-trace-py#14385

and update tooldefinitions docs once this is in: DataDog/dd-trace-py#14393

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

Copy link
Contributor

github-actions bot commented Aug 21, 2025

📝 Documentation Team Review Required

This pull request requires approval from the @DataDog/documentation team before it can be merged.

Please ensure your changes follow our documentation guidelines and wait for a team member to review and approve your changes.

Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

Yun-Kim pushed a commit to DataDog/dd-trace-py that referenced this pull request Aug 26, 2025
This introduces support for tool calls and tool results in LLMObs
message annotations when using custom instrumentation.
The ``LLMObs.annotate()`` method now accept input and output data with
optional
``tool_calls`` and ``tool_results`` fields for function calling
scenarios.
    
[    Docs update to be merged once this is merged
](DataDog/documentation#31231)

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] Reviewer has checked that all the criteria below are met 
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
@ZStriker19 ZStriker19 marked this pull request as ready for review August 26, 2025 19:29
@ZStriker19 ZStriker19 requested a review from a team as a code owner August 26, 2025 19:29
@brett0000FF brett0000FF added the editorial review Waiting on a more in-depth review label Aug 26, 2025
@brett0000FF
Copy link
Contributor

Created DOCS-11907 for editorial review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial review Waiting on a more in-depth review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants