Closed
Conversation
7cb6470 to
13b8567
Compare
|
Kudos, SonarCloud Quality Gate passed! |
wbrown
suggested changes
Oct 25, 2022
| service GenerationService { | ||
| rpc Generate (Request) returns (stream Answer) {}; | ||
| rpc ChainGenerate (ChainRequest) returns (stream Answer) {}; | ||
| rpc EstimateCost (Request) returns (EstimateCostResponse) {}; |
Contributor
There was a problem hiding this comment.
Is there a reason to break from the Answer pattern here? I suggest against this. We have metadata around this.
Contributor
Author
There was a problem hiding this comment.
My initial impression was that there was a fair bit of additional risk introduced if I modified the generation logic to support a "dry run" / "cost estimation" mode where an Answer could come back without any image artifacts, but that's largely due to me being unfamiliar with the code and not having a test case safety net to lean on.
I'll take another stab at this if maintaining that pattern is the goal.
Contributor
Author
|
New PR: #35 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








There are some unexpected diffs due to some of the files being generated with newer versions of protoc previously, but I don't believe that the changes will have an affect on the runtime behavior. The outputs in this MR were generated by the docker build process. My hope is that these unintentional diffs will no longer be an issue once building via docker is established as the norm.