mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
fix(stock):修复AI重新检测股票时保留问题文本的bug
- 在 aiReCheckStock函数中添加了清空 question 字段的逻辑 - 确保在重新检测股票时,不会保留上一次的问题文本
This commit is contained in:
parent
92c61e4c26
commit
c91466a023
@ -538,7 +538,6 @@ function aiReCheckStock(stock,stockCode) {
|
|||||||
|
|
||||||
NewChatStream(stock,stockCode,data.question)
|
NewChatStream(stock,stockCode,data.question)
|
||||||
}
|
}
|
||||||
|
|
||||||
function aiCheckStock(stock,stockCode){
|
function aiCheckStock(stock,stockCode){
|
||||||
GetAIResponseResult(stockCode).then(result => {
|
GetAIResponseResult(stockCode).then(result => {
|
||||||
if(result.content){
|
if(result.content){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user