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

[Bug]: EvaluateStep Not Accepting Nested Dictionaries #841

Open
1 task done
HamadaSalhab opened this issue Nov 16, 2024 · 0 comments
Open
1 task done

[Bug]: EvaluateStep Not Accepting Nested Dictionaries #841

HamadaSalhab opened this issue Nov 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HamadaSalhab
Copy link
Contributor

📜 Description

Reproduce

Sample task (yaml):

main:
    - evaluate:
        user_info:
          gender: "'male'"
          age: "25"

Returned Output (transitions.list):

Transition #1:
Type: init
Output: {}
---------------------------------------------
Transition #2:
Type: error
Output: Function agents_api.activities.utils.simple_eval_dict() parameter exprs={'user_info': {'age': '25', 'gender': "'male'"}} violates type hint dict[str, str], as dict key str 'user_info' value dict {'age': '25', 'gender': "'male'"} not instance of str.

👟 Reproduction steps

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue
@HamadaSalhab HamadaSalhab added the bug Something isn't working label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant