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

'Call' object is not iterable #7

Closed
KillianLucas opened this issue Aug 12, 2023 · 1 comment
Closed

'Call' object is not iterable #7

KillianLucas opened this issue Aug 12, 2023 · 1 comment
Assignees

Comments

@KillianLucas
Copy link
Collaborator

KillianLucas commented Aug 12, 2023

Must be a problem in code_interpreter.py when we parse everything for python, it expects everything to be an iterable:

Screen Shot 2023-08-12 at 12 21 29 AM

Chat suggested this fix:

def process_body(self, body):
    if not isinstance(body, list):
        body = [body]

    # The rest of your method
    for sub_node in body:
        # process each sub_node
@KillianLucas KillianLucas self-assigned this Aug 12, 2023
@KillianLucas
Copy link
Collaborator Author

Fixed in 3c2bd5d.

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