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

fix: Adjust TaskProcessingListener #10620

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

SebastianKrupinski
Copy link
Contributor

Resolves: #10616

Signed-off-by: SebastianKrupinski <[email protected]>
@SebastianKrupinski SebastianKrupinski force-pushed the fix/10616-adjust-taskprocessinglistener branch from 3064c35 to 4ee353b Compare January 29, 2025 00:33
Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

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

🐘

@SebastianKrupinski SebastianKrupinski merged commit d3d7af0 into main Jan 29, 2025
35 checks passed
@SebastianKrupinski SebastianKrupinski deleted the fix/10616-adjust-taskprocessinglistener branch January 29, 2025 16:17
@@ -104,7 +101,7 @@ public function summarizeMessages(Account $account, array $messages): void {
"Here is the ***E-MAIL*** for which you must generate a helpful summary: \r\n" .
"***START_OF_E-MAIL***\r\n$messageBody\r\n***END_OF_E-MAIL***\r\n";
$task = new TaskProcessingTask(
TextToText::ID,
TextToTextSummary::ID,
Copy link
Contributor

Choose a reason for hiding this comment

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

It should be TextToTextas TextToTextSummary already has a prompt built in see #10611

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dang it, you changed it, I didn't notice this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, Ill submit another PR to change this back

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You didn't adjust the function that actually listens to the completed summary, so when I looked at the code i thought I made a mistake.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah I just realised, my bad sorry

@SebastianKrupinski
Copy link
Contributor Author

/backport to stable4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

Adjust TaskProcessingListener to accept TextToText tasks
3 participants