modelservice
This commit is contained in:
parent
3f8965e885
commit
2c15824179
@ -42,6 +42,11 @@ public class ModelService {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 对话聊天
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
public ModelCompletionsRespVO modelCompletions(ModelCompletionsReqVO req) {
|
||||
if (StringUtils.isBlank(req.getModel())) {
|
||||
req.setModel(DEFAULT_MODEL_ID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user