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

monkey-patch (serialize_on_call flag) #597

Merged
merged 2 commits into from
Sep 22, 2023
Merged

monkey-patch (serialize_on_call flag) #597

merged 2 commits into from
Sep 22, 2023

Conversation

aaazzam
Copy link
Collaborator

@aaazzam aaazzam commented Sep 22, 2023

monkey patch for 1.5.

prompt_fn serializes on demand, unless user overrides with serialize_on_call = False to get access to Prompt directly.

Not pretty, but LGTM for now.

@aaazzam aaazzam merged commit f37ad5b into main Sep 22, 2023
12 checks passed
@aaazzam aaazzam deleted the serialize-on-call branch September 22, 2023 21:32
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.

2 participants