Skip to content

Commit

Permalink
Fix typos in assert notNull in Bedrock model
Browse files Browse the repository at this point in the history
  • Loading branch information
dafriz authored and Mark Pollack committed Sep 17, 2024
1 parent 7fda93f commit f226b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static BedrockUsage from(AmazonBedrockInvocationMetrics usage) {
private final AmazonBedrockInvocationMetrics usage;

protected BedrockUsage(AmazonBedrockInvocationMetrics usage) {
Assert.notNull(usage, "OpenAI Usage must not be null");
Assert.notNull(usage, "Bedrock Usage must not be null");
this.usage = usage;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static MoonshotUsage from(MoonshotApi.Usage usage) {
}

protected MoonshotUsage(MoonshotApi.Usage usage) {
Assert.notNull(usage, "OpenAI Usage must not be null");
Assert.notNull(usage, "Moonshot Usage must not be null");
this.usage = usage;
}

Expand Down

0 comments on commit f226b1a

Please sign in to comment.