feat(frontend): 增加 AI 赋能股票分析功能

- 在 package.json 中添加 AI 赋能股票分析相关关键词
- 更新 settings.vue 中的 openAI 配置项,优化输入框类型和样式
- 在 wails.json 中添加 AI 赋能分析股票的说明
This commit is contained in:
spark 2025-01-26 11:44:50 +08:00
parent 847cacc71e
commit d3cf202c88
4 changed files with 6 additions and 6 deletions

View File

@ -20,6 +20,6 @@
"vfonts": "^0.0.3",
"vite": "5.4.6"
},
"keywords": [],
"keywords": ["AI赋能股票分析","go-stock"],
"author": "spark"
}

View File

@ -1 +1 @@
20ff7276b29c676c7bee1a293cbcff2b
21651c02a381710ff84c03c3ee0a8235

View File

@ -142,13 +142,13 @@ function sendTestNotice(){
<n-switch v-model:value="formValue.openAI.enable" />
</n-form-item-gi>
<n-form-item-gi :span="24" v-if="formValue.openAI.enable" label="openAI接口地址" path="openAI.baseUrl">
<n-input placeholder="AI接口地址" v-model:value="formValue.openAI.baseUrl"/>
<n-input type="text" placeholder="AI接口地址" v-model:value="formValue.openAI.baseUrl" clearable />
</n-form-item-gi>
<n-form-item-gi :span="12" v-if="formValue.openAI.enable" label="apiKey" path="openAI.apiKey">
<n-input placeholder="apiKey" v-model:value="formValue.openAI.apiKey"/>
<n-input type="text" placeholder="apiKey" v-model:value="formValue.openAI.apiKey" clearable />
</n-form-item-gi>
<n-form-item-gi :span="12" v-if="formValue.openAI.enable" label="AI模型" path="openAI.model">
<n-input placeholder="AI模型" v-model:value="formValue.openAI.model"/>
<n-input type="text" placeholder="AI模型" v-model:value="formValue.openAI.model" clearable />
</n-form-item-gi>
<n-form-item-gi :span="12" v-if="formValue.openAI.enable" label="temperature" path="openAI.temperature" >
<n-input-number placeholder="temperature" v-model:value="formValue.openAI.temperature"/>

View File

@ -14,6 +14,6 @@
"productName": "go-stock",
"productVersion": "1.0.0",
"copyright": "Copyright#sparkmemory@163.com",
"comments": "股票行情实时获取"
"comments": "股票行情实时获取,AI赋能分析股票"
}
}