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

Use response inside try block in computer.ai fast_llm #1554

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

Conversation

liangjs
Copy link

@liangjs liangjs commented Dec 12, 2024

Describe the changes you have made:

The response object will not be available if an exception is thrown when executing llm.interpreter.chat, so we should only access the response inside the try block.

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

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