Skip to content

Commit fad2b24

Browse files
committed
style: Fix code formatting in MistralAiChatOptions class
Signed-off-by: jee14 <[email protected]>
1 parent 2a68e26 commit fad2b24

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

models/spring-ai-mistral-ai/src/main/java/org/springframework/ai/mistralai/MistralAiChatOptions.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,23 @@ public class MistralAiChatOptions implements ToolCallingChatOptions {
103103

104104
/**
105105
* Number between -2.0 and 2.0. frequency_penalty penalizes the repetition of words
106-
* based on their frequency in the generated text. A higher frequency penalty discourages
107-
* the model from repeating words that have already appeared frequently in the
108-
* output, promoting diversity and reducing repetition.
106+
* based on their frequency in the generated text. A higher frequency penalty
107+
* discourages the model from repeating words that have already appeared frequently in
108+
* the output, promoting diversity and reducing repetition.
109109
*/
110110
private @JsonProperty("frequency_penalty") Double frequencyPenalty;
111111

112112
/**
113-
* Number between -2.0 and 2.0. presence_penalty determines how much the model penalizes
114-
* the repetition of words or phrases. A higher presence penalty encourages the model to
115-
* use a wider variety of words and phrases, making the output more diverse and creative.
113+
* Number between -2.0 and 2.0. presence_penalty determines how much the model
114+
* penalizes the repetition of words or phrases. A higher presence penalty encourages
115+
* the model to use a wider variety of words and phrases, making the output more
116+
* diverse and creative.
116117
*/
117118
private @JsonProperty("presence_penalty") Double presencePenalty;
118119

119120
/**
120-
* Number of completions to return for each request, input tokens are only billed once.
121+
* Number of completions to return for each request, input tokens are only billed
122+
* once.
121123
*/
122124
private @JsonProperty("n") Integer n;
123125

@@ -435,8 +437,7 @@ public boolean equals(Object obj) {
435437
&& Objects.equals(this.randomSeed, other.randomSeed)
436438
&& Objects.equals(this.responseFormat, other.responseFormat) && Objects.equals(this.stop, other.stop)
437439
&& Objects.equals(this.frequencyPenalty, other.frequencyPenalty)
438-
&& Objects.equals(this.presencePenalty, other.presencePenalty)
439-
&& Objects.equals(this.n, other.n)
440+
&& Objects.equals(this.presencePenalty, other.presencePenalty) && Objects.equals(this.n, other.n)
440441
&& Objects.equals(this.tools, other.tools) && Objects.equals(this.toolChoice, other.toolChoice)
441442
&& Objects.equals(this.toolCallbacks, other.toolCallbacks)
442443
&& Objects.equals(this.toolNames, other.toolNames)

0 commit comments

Comments
 (0)