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

Support for user-defined contexts #437

Open
vazirim opened this issue Feb 17, 2025 · 1 comment
Open

Support for user-defined contexts #437

vazirim opened this issue Feb 17, 2025 · 1 comment

Comments

@vazirim
Copy link
Member

vazirim commented Feb 17, 2025

Is your feature request related to a problem? Please describe.
In PDL, we only have one background context pdl_context which is handled mostly implicitly.

This proposal will add user-defined contexts as first-class entities.
contribute will be used to indicate what contexts a block is contributing to (including None).
Nested blocks will inherit this set of contexts.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@esnible
Copy link
Member

esnible commented Mar 11, 2025

Can you give a motivating example? Perhaps something simple like asking one model to write code and another model to analyze it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants