Merge pull request #927 from SuanmoSuanyangTechnology/feature/model_json_zy

feat(web): agent support reset model config
This commit is contained in:
yingzhao
2026-04-17 13:46:41 +08:00
committed by GitHub
2 changed files with 20 additions and 4 deletions

View File

@@ -174,4 +174,8 @@ export const getAppLogsUrl = (app_id: string) => `/apps/${app_id}/logs`
// Get full conversation message history
export const getAppLogDetail = (app_id: string, conversation_id: string) => {
return request.get(`/apps/${app_id}/logs/${conversation_id}`)
}
// Reset agent model config to default
export const resetAppModelConfig = (app_id: string) => {
return request.get(`/apps/${app_id}/model/parameters/default`)
}