Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add try except logic for JSON parsing and response handling #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sfc-gh-twhite
Copy link
Collaborator

@GovindHede - I was working through #65 but ultimately had too much to comb through, and the tests are failing.

FAILED tests/test_quickstart.py::test_gateway_agent[market_cap] - agent_gateway.gateway.gateway.AgentGatewayError: Unable to retrieve response. Please check each of your Cortex tools and ensure all connections are v...
FAILED tests/test_quickstart.py::test_gateway_agent[product_revenue] - agent_gateway.gateway.gateway.AgentGatewayError: Unable to retrieve response. Please check each of your Cortex tools and ensure all connections are v...

This PR opens up the changes only for what we wanted to capture here. I added you as a co-author for the commit, so you'll still have the contribution. Thanks for helping with this!

@sfc-gh-alherrera: These tests are still failing, I'll do some deeper digging in a little bit, just wanted to get this opened.

Co-authored-by: Govind Hede <govindhede1408@gmail.com>
@sfc-gh-twhite sfc-gh-twhite marked this pull request as ready for review December 6, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant