mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-08-13 11:10:59 +00:00
feat(release): migrate GeekAI v4.3.0 to open source
- Sync backend and frontend from GeekAI Plus v4.3.0 - Remove commercial License flows and update open-source deployment defaults - Preserve Docker Compose deployment and bump image tags to v4.3.0 BREAKING CHANGE: commercial License configuration and related endpoints are removed
This commit is contained in:
@@ -236,7 +236,13 @@ const generateAI = () => {
|
||||
model_id: modelID.value,
|
||||
})
|
||||
.then((res) => {
|
||||
text.value = res.data
|
||||
const raw = res?.data
|
||||
if (raw == null || String(raw).trim() === '') {
|
||||
ElMessage.error('生成结果为空,请重试或更换模型')
|
||||
loading.value = false
|
||||
return
|
||||
}
|
||||
text.value = typeof raw === 'string' ? raw : String(raw)
|
||||
content.value = processContent(text.value)
|
||||
const model = getModelById(modelID.value)
|
||||
loginUser.value.power -= model.power
|
||||
|
||||
Reference in New Issue
Block a user