feat(web): agent support reset model config

This commit is contained in:
zhaoying
2026-04-17 13:44:07 +08:00
parent b302a94620
commit b02baedd2c
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`)
}