master
ihzero 2023-08-22 16:54:29 +08:00
parent 48cdf8bdf0
commit cec35cdd6f
1 changed files with 7 additions and 3 deletions

View File

@ -27,10 +27,10 @@
class="text-white text-44px ml-20px cursor-pointer" class="text-white text-44px ml-20px cursor-pointer"
name="pause" name="pause"
></SvgIcon> ></SvgIcon>
<SvgIcon <!-- <SvgIcon
class="text-white text-44px ml-20px" class="text-white text-44px ml-20px"
name="right-arrow" name="right-arrow"
></SvgIcon> ></SvgIcon> -->
</div> </div>
<div class="mt-10px h-600px"> <div class="mt-10px h-600px">
<ScrollContainer class="!h-full" ref="scrollRefAi"> <ScrollContainer class="!h-full" ref="scrollRefAi">
@ -275,7 +275,11 @@ const sendMessage = async () => {
await http.post( await http.post(
'/api/v1/answer', '/api/v1/answer',
{ {
prompt: message, // prompt: message,
prompt:`"""
${message?.substring(0, 4000)}
"""
Question: 问题`
}, },
{ {
signal: controller.signal, signal: controller.signal,