mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
- 新增 NewChatStream 函数,用于接收实时聊天流数据 - 在 App 组件中添加 NewChatStream 方法处理聊天流 - 修改前端 Stock 组件,支持实时显示 AI 聊天流结果 - 优化后端 OpenAi 结构,增加 NewChatStream 方法获取流式响应
60 lines
1.6 KiB
JavaScript
60 lines
1.6 KiB
JavaScript
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
export function Follow(arg1) {
|
|
return window['go']['main']['App']['Follow'](arg1);
|
|
}
|
|
|
|
export function GetConfig() {
|
|
return window['go']['main']['App']['GetConfig']();
|
|
}
|
|
|
|
export function GetFollowList() {
|
|
return window['go']['main']['App']['GetFollowList']();
|
|
}
|
|
|
|
export function GetStockList(arg1) {
|
|
return window['go']['main']['App']['GetStockList'](arg1);
|
|
}
|
|
|
|
export function Greet(arg1) {
|
|
return window['go']['main']['App']['Greet'](arg1);
|
|
}
|
|
|
|
export function NewChat(arg1) {
|
|
return window['go']['main']['App']['NewChat'](arg1);
|
|
}
|
|
|
|
export function NewChatStream(arg1) {
|
|
return window['go']['main']['App']['NewChatStream'](arg1);
|
|
}
|
|
|
|
export function SendDingDingMessage(arg1, arg2) {
|
|
return window['go']['main']['App']['SendDingDingMessage'](arg1, arg2);
|
|
}
|
|
|
|
export function SendDingDingMessageByType(arg1, arg2, arg3) {
|
|
return window['go']['main']['App']['SendDingDingMessageByType'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SetAlarmChangePercent(arg1, arg2, arg3) {
|
|
return window['go']['main']['App']['SetAlarmChangePercent'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SetCostPriceAndVolume(arg1, arg2, arg3) {
|
|
return window['go']['main']['App']['SetCostPriceAndVolume'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SetStockSort(arg1, arg2) {
|
|
return window['go']['main']['App']['SetStockSort'](arg1, arg2);
|
|
}
|
|
|
|
export function UnFollow(arg1) {
|
|
return window['go']['main']['App']['UnFollow'](arg1);
|
|
}
|
|
|
|
export function UpdateConfig(arg1) {
|
|
return window['go']['main']['App']['UpdateConfig'](arg1);
|
|
}
|