Fix stream trace logging with the OpenAI autologging implementation to record the correct chunk structure #3846
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Advice | |
on: | |
pull_request_target: | |
types: | |
- opened | |
permissions: | |
contents: read | |
jobs: | |
notify: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
permissions: | |
pull-requests: write # advice.js comments on PRs | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github | |
- uses: actions/github-script@v7 | |
with: | |
script: | | |
const script = require( | |
`${process.env.GITHUB_WORKSPACE}/.github/workflows/advice.js` | |
); | |
script({ context, github }); |