Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
feat: added option to configure the number of sentences in the sugges…
Browse files Browse the repository at this point in the history
…tion context (#808)

* feat: added option to configure the number of sentences in the suggestion context

PiperOrigin-RevId: 420101041

Source-Link: googleapis/googleapis@549b567

Source-Link: https://github.com/googleapis/googleapis-gen/commit/7d095a8c6a6223dd4ee772c285112483c2afb1c0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2QwOTVhOGM2YTYyMjNkZDRlZTc3MmMyODUxMTI0ODNjMmFmYjFjMCJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 14, 2022
1 parent a86337c commit 89ad722
Show file tree
Hide file tree
Showing 13 changed files with 1,513 additions and 471 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,10 @@ public void suggestSmartRepliesTest() throws Exception {
SuggestSmartRepliesResponse expectedResponse =
SuggestSmartRepliesResponse.newBuilder()
.addAllSmartReplyAnswers(new ArrayList<SmartReplyAnswer>())
.setLatestMessage("latestMessage-1424305536")
.setLatestMessage(
MessageName.ofProjectConversationMessageName(
"[PROJECT]", "[CONVERSATION]", "[MESSAGE]")
.toString())
.setContextSize(1116903569)
.build();
mockParticipants.addResponse(expectedResponse);
Expand Down Expand Up @@ -815,7 +818,10 @@ public void suggestSmartRepliesTest2() throws Exception {
SuggestSmartRepliesResponse expectedResponse =
SuggestSmartRepliesResponse.newBuilder()
.addAllSmartReplyAnswers(new ArrayList<SmartReplyAnswer>())
.setLatestMessage("latestMessage-1424305536")
.setLatestMessage(
MessageName.ofProjectConversationMessageName(
"[PROJECT]", "[CONVERSATION]", "[MESSAGE]")
.toString())
.setContextSize(1116903569)
.build();
mockParticipants.addResponse(expectedResponse);
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 89ad722

Please sign in to comment.