Skip to content

fix: fix langchain error handling to avoid crash on openai>1.0.0 #4228

fix: fix langchain error handling to avoid crash on openai>1.0.0

fix: fix langchain error handling to avoid crash on openai>1.0.0 #4228

name: Remove awaiting response label
on:
issue_comment:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
if: |
github.event.comment.author_association != 'OWNER' &&
github.event.comment.author_association != 'COLLABORATOR'
steps:
- name: Remove needs-reply label
uses: octokit/[email protected]
continue-on-error: true
with:
route: DELETE /repos/:repository/issues/:issue/labels/:label
repository: ${{ github.repository }}
issue: ${{ github.event.issue.number }}
label: "awaiting response"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}