opt
This commit is contained in:
parent
fec5ce0ca2
commit
2e7ab01ed6
@ -90,7 +90,7 @@ public class LLMAppServiceImpl implements LLMAppService {
|
||||
if(StrUtil.isBlank((String)params.get(ConstantConfig.LLM_SLUG_KEY))) {
|
||||
params.put(ConstantConfig.LLM_SLUG_KEY, usedSlug);
|
||||
}
|
||||
llmServiceFactory.current().streamAnswer(llmToken, question, params, adapter);
|
||||
llmServiceFactory.current().streamAnswer(llmToken, question.replaceAll(ConstantConfig.KEYWORD_PATTERN_LEFT, StrUtil.EMPTY), params, adapter);
|
||||
|
||||
emitter.complete();
|
||||
} catch (Exception e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user