Skip to content

Commit 58a30f7

Browse files
habumatzolov
authored andcommitted
Fix formatting
1 parent 5cf41f5 commit 58a30f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-ai-core/src/main/java/org/springframework/ai/chat/client/advisor/QuestionAnswerAdvisor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ public Flux<ChatResponse> adviseResponse(Flux<ChatResponse> fluxResponse, Map<St
141141

142142
protected Filter.Expression doGetFilterExpression(Map<String, Object> context) {
143143

144-
if (!context.containsKey(FILTER_EXPRESSION) || !StringUtils.hasText(context.get(FILTER_EXPRESSION).toString())) {
144+
if (!context.containsKey(FILTER_EXPRESSION)
145+
|| !StringUtils.hasText(context.get(FILTER_EXPRESSION).toString())) {
145146
return this.searchRequest.getFilterExpression();
146147
}
147148
return new FilterExpressionTextParser().parse(context.get(FILTER_EXPRESSION).toString());

0 commit comments

Comments
 (0)