Fix tool and prompt description update not calling API

The issue was that toolService.ts and promptService.ts were setting
Authorization: Bearer header manually, but the backend expects the
x-auth-token header. The auth interceptor already handles adding
x-auth-token automatically, so the fix is to remove the manual header
and let the interceptor do its job.

Co-authored-by: samanhappy <2755122+samanhappy@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-01 04:28:48 +00:00
parent 2378d849b8
commit c76c7c9be7
3 changed files with 6 additions and 21 deletions

View File

@@ -12,7 +12,7 @@
"tools": {
"amap-maps_regeocode": {
"enabled": true,
"description": "My custom description"
"description": "Updated via UI test"
}
}
},