master
parent
48cdf8bdf0
commit
cec35cdd6f
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue