-
Notifications
You must be signed in to change notification settings - Fork 264
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
fix: Adjust TaskProcessingListener #10620
Conversation
Signed-off-by: SebastianKrupinski <[email protected]>
3064c35
to
4ee353b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
@@ -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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be TextToText
as TextToTextSummary
already has a prompt built in see #10611
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
/backport to stable4.2 |
Resolves: #10616