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

Extract Looping Mechanisms #162

Merged

Conversation

ProjektGopher
Copy link
Contributor

@ProjektGopher ProjektGopher commented Sep 10, 2024

This is a resurrection of #154 but with some stronger typing, and removing some breaking changes that were pointed out by @jessarcher to me in Dallas.

This PR should now include no behavioural changes, meaning that the existing test suite should cover it.

The limitation this PR is solving is making the looping mechanisms in the prompt method, and in our fake method overridable. This will allow us to use novel approaches that might unlock some other really cool possibilities, like debounced http requests, handling streamed output, and websockets.

@taylorotwell taylorotwell merged commit fdc964d into laravel:main Sep 11, 2024
4 checks passed
@taylorotwell
Copy link
Member

Thanks @ProjektGopher!

@ProjektGopher ProjektGopher deleted the async/extract_looping_mechanisms branch September 11, 2024 22:45
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