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