chore: pass to agent if there is error parsing json (#7990)

- GPT bot should pass the conversation to the agent if AI returns invalid json or any other error
This commit is contained in:
Sojan Jose
2023-09-26 21:05:21 -07:00
committed by GitHub
parent cbbe939662
commit 647161121e
3 changed files with 74 additions and 9 deletions

View File

@@ -69,7 +69,12 @@ jobs:
# Run Response Bot specs
- name: Run backend tests
run: |
bundle exec rspec spec/enterprise/controllers/api/v1/accounts/response_sources_controller_spec.rb spec/enterprise/controllers/enterprise/api/v1/accounts/inboxes_controller_spec.rb:47 --profile=10 --format documentation
bundle exec rspec \
spec/enterprise/controllers/api/v1/accounts/response_sources_controller_spec.rb \
spec/enterprise/services/enterprise/message_templates/response_bot_service_spec.rb \
spec/enterprise/controllers/enterprise/api/v1/accounts/inboxes_controller_spec.rb:47 \
--profile=10 \
--format documentation
- name: Upload rails log folder
uses: actions/upload-artifact@v3