mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 02:46:56 +00:00
[fix]Fix unit test cases.
This commit is contained in:
@@ -87,7 +87,8 @@ public class OnePassSCSqlGenStrategy extends SqlGenStrategy {
|
||||
ChatModelConfig chatModelConfig = chatApp.getChatModelConfig();
|
||||
if (!StringUtils.isBlank(parserConfig.getParameterValue(PARSER_FORMAT_JSON_TYPE))) {
|
||||
chatModelConfig.setJsonFormat(true);
|
||||
chatModelConfig.setJsonFormatType(parserConfig.getParameterValue(PARSER_FORMAT_JSON_TYPE));
|
||||
chatModelConfig
|
||||
.setJsonFormatType(parserConfig.getParameterValue(PARSER_FORMAT_JSON_TYPE));
|
||||
}
|
||||
ChatLanguageModel chatLanguageModel = getChatLanguageModel(chatModelConfig);
|
||||
SemanticSqlExtractor extractor =
|
||||
|
||||
Reference in New Issue
Block a user