This commit is contained in:
van
2026-04-04 16:20:50 +08:00
parent 07b49d10c7
commit 13df289d33
2 changed files with 196 additions and 2 deletions

View File

@@ -33,3 +33,26 @@ export function deletePromptTemplate(key) {
})
}
// 大模型接入配置(与 Jarvis 共用 Redis
export function getLlmConfig() {
return request({
url: '/jarvis/social-media/llm-config',
method: 'get'
})
}
export function saveLlmConfig(data) {
return request({
url: '/jarvis/social-media/llm-config/save',
method: 'post',
data
})
}
export function resetLlmConfig() {
return request({
url: '/jarvis/social-media/llm-config',
method: 'delete'
})
}