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 EventsMixin #984

Merged
merged 6 commits into from
Jul 23, 2024
Merged

Add EventsMixin #984

merged 6 commits into from
Jul 23, 2024

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Jul 15, 2024

Describe your changes

Issue ticket number and link

Closes #914
Closes #643

Copy link

codecov bot commented Jul 15, 2024

Codecov Report

Attention: Patch coverage is 96.47059% with 3 lines in your changes missing coverage. Please review.

Files Patch % Lines
griptape/tasks/base_task.py 0.00% 0 Missing and 2 partials ⚠️
griptape/config/base_structure_config.py 95.23% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@collindutter collindutter marked this pull request as ready for review July 17, 2024 23:06
@collindutter
Copy link
Member Author

Still need to write up a changelog

Copy link
Contributor

@dylanholmes dylanholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, I like a lot of the change, just a couple of questions

griptape/mixins/events_mixin.py Outdated Show resolved Hide resolved
griptape/tasks/prompt_task.py Outdated Show resolved Hide resolved
griptape/utils/stream.py Outdated Show resolved Hide resolved
Copy link
Contributor

@dylanholmes dylanholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give me a minute to think about this one. Won't take too long

griptape/utils/stream.py Outdated Show resolved Hide resolved
griptape/tasks/prompt_task.py Outdated Show resolved Hide resolved
@dylanholmes dylanholmes self-requested a review July 19, 2024 14:01
@collindutter collindutter force-pushed the feature/events-mixin branch 3 times, most recently from c5d8ee5 to 0df4872 Compare July 19, 2024 15:15
Copy link
Contributor

@dylanholmes dylanholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like the right direction, but I just want to make sure we define the expected behavior when mutating structure/structure config/drivers

(Accidentally approved this one)

griptape/tasks/base_task.py Show resolved Hide resolved
griptape/config/base_structure_config.py Outdated Show resolved Hide resolved
griptape/config/base_structure_config.py Outdated Show resolved Hide resolved
griptape/config/base_structure_config.py Outdated Show resolved Hide resolved
griptape/config/base_structure_config.py Show resolved Hide resolved
Copy link
Contributor

@dylanholmes dylanholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(that approval was accidental)

Copy link
Contributor

@dylanholmes dylanholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So much better!

@collindutter collindutter merged commit 1f690c6 into dev Jul 23, 2024
13 checks passed
@collindutter collindutter deleted the feature/events-mixin branch July 23, 2024 18:17
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.

Prompt Drivers Crash When Streaming Without A Structure
2 participants