Skip to content

Handling undefined values in summarize notifications tool#6421

Merged
aiday-mar merged 9 commits intorelease/0.100from
unexpected-nightingale
Oct 25, 2024
Merged

Handling undefined values in summarize notifications tool#6421
aiday-mar merged 9 commits intorelease/0.100from
unexpected-nightingale

Conversation

@aiday-mar
Copy link
Copy Markdown
Contributor

@aiday-mar aiday-mar commented Oct 25, 2024

  • Checking whether the parameters are defined before using them
  • Renaming unreadComments to comments because the LLM behind seems to send the unreadComments as a comments array

@aiday-mar aiday-mar changed the base branch from main to release/0.100 October 25, 2024 09:07
@aiday-mar aiday-mar requested review from alexr00 and lszomoru October 25, 2024 09:07
@aiday-mar aiday-mar marked this pull request as ready for review October 25, 2024 09:07
@aiday-mar aiday-mar added the candidate Issue identified as probable candidate for fixing in the next release label Oct 25, 2024
Comment thread src/lm/tools/fetchNotificationTool.ts
Comment thread src/lm/tools/summarizeNotificationsTool.ts Outdated
Comment thread src/lm/tools/fetchNotificationTool.ts
@aiday-mar
Copy link
Copy Markdown
Contributor Author

aiday-mar commented Oct 25, 2024

Thanks for the review! I made the requested changes

alexr00
alexr00 previously approved these changes Oct 25, 2024
Copy link
Copy Markdown
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Looks good!

Comment thread src/lm/tools/summarizeNotificationsTool.ts Outdated
@aiday-mar aiday-mar merged commit 7c3da33 into release/0.100 Oct 25, 2024
@aiday-mar aiday-mar deleted the unexpected-nightingale branch October 25, 2024 13:16
alexr00 added a commit that referenced this pull request Oct 28, 2024
* Inaccurate result when asking for authored issues (#6419)

Part of #6362

* handling undefined values

* changing the order of the response text and tool command result

* undo change in search tools

* removing the changing of order

* review comments

* plolishing

* merging return statements

* pushing the new text model part into the summarize tool result

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
alexr00 added a commit that referenced this pull request Oct 28, 2024
* Inaccurate result when asking for authored issues (#6419)

Part of #6362

* handling undefined values

* changing the order of the response text and tool command result

* undo change in search tools

* removing the changing of order

* review comments

* plolishing

* merging return statements

* pushing the new text model part into the summarize tool result

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

candidate Issue identified as probable candidate for fixing in the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants