mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 04:57:28 +00:00
(fix)(common)Make sure system exemplar gets loaded before demo chats.
This commit is contained in:
@@ -67,7 +67,6 @@ public class TimeCorrector extends BaseSemanticCorrector {
|
||||
//decide whether add date field to where
|
||||
Environment environment = ContextUtils.getBean(Environment.class);
|
||||
String correctorDate = environment.getProperty("s2.corrector.date");
|
||||
log.info("correctorDate:{}", correctorDate);
|
||||
if (StringUtils.isNotBlank(correctorDate) && !Boolean.parseBoolean(correctorDate)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user