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

add support for datetime arguments #249

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nexxeln
Copy link

@nexxeln nexxeln commented May 15, 2024

closes #53

  • updated get_json_type_for_py_type and get_json_schema_for_arg functions in phi/utils/json_schema.py to handle datetimes
  • updated execute function in phi/tools/function.py to parse datetime strings into datetime objects

@nexxeln
Copy link
Author

nexxeln commented May 15, 2024

do i need to add/update some tests for this?

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.

Functions with datetime arguments
1 participant