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

500 Internal Server Error when sending request to sukoon_api.py #7

Open
yourresult opened this issue Sep 25, 2024 · 0 comments
Open

Comments

@yourresult
Copy link
Collaborator

issue

While running Langgraph's "sukoon_api.py" and sending a request to http://127.0.0.1:8000/query, I encountered a 500 Internal Server Error. The error message received is: "'AgentFinish' object is not subscriptable."

Branch Name: langgraph

Steps to Reproduce:

  1. Run the Langgraph "sukoon_api.py" script.
  2. Send a request to http://127.0.0.1:8000/query. with Input a POST message: input = "Hii, I am feeling not good."
  3. Observe the error.

Expected Behavior: The API should respond correctly to the request without errors.

Actual Behavior: I received a 500 Internal Server Error with the message: "'AgentFinish' object is not subscriptable."

Additional Context: I have verified that the API key is correct.

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

No branches or pull requests

1 participant