TASK:collection sort;
This commit is contained in:
@@ -64,6 +64,19 @@ public class LLMController {
|
||||
return llmService.stream(prompt, projectId, fileUrl, imageUrlList, token, enableThinking, process);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "对话")
|
||||
@CrossOrigin
|
||||
@GetMapping(value = "/streamNew", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
|
||||
public SseEmitter streamNew(@RequestParam String prompt,
|
||||
@RequestParam(required = false) Long projectId,
|
||||
@RequestParam(required = false) String fileUrl,
|
||||
@RequestParam(required = false) List<String> imageUrlList,
|
||||
@RequestParam(required = false) String process,
|
||||
@RequestParam String token,
|
||||
@RequestParam Boolean enableThinking) {
|
||||
return llmService.streamNew(prompt, projectId, fileUrl, imageUrlList, token, enableThinking, process);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "对话创建项目")
|
||||
@GetMapping(value = "/chatCreateProject")
|
||||
public Response<Long> chatCreateProject(@RequestParam String prompt, @RequestParam String process,
|
||||
|
||||
Reference in New Issue
Block a user