Migrate LLM client to OpenAI SDK and implement WebUI-specific fileID handling

This commit is contained in:
2026-03-10 17:54:50 +08:00
parent 49f6297631
commit 0e1a800646
23 changed files with 1162 additions and 8201 deletions

3
.vscode/launch.json vendored
View File

@@ -6,7 +6,6 @@
"type": "go",
"request": "launch",
"mode": "auto",
"preLaunchTask": "Kill Stale LaodingBot Debug Processes",
"program": "${workspaceFolder}/cmd/bot",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/configs/env"
@@ -16,7 +15,6 @@
"type": "go",
"request": "launch",
"mode": "auto",
"preLaunchTask": "Kill Stale LaodingBot Debug Processes",
"program": "${workspaceFolder}/cmd/bot",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/configs/env",
@@ -29,7 +27,6 @@
"type": "go",
"request": "launch",
"mode": "auto",
"preLaunchTask": "Kill Stale LaodingBot Debug Processes",
"program": "${workspaceFolder}/cmd/bot",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/configs/env",

11
.vscode/tasks.json vendored
View File

@@ -1,11 +0,0 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Kill Stale LaodingBot Debug Processes",
"type": "shell",
"command": "pkill -f '/LaodingBot/cmd/bot/__debug_bin|dlv.*LaodingBot/cmd/bot|dlv dap' || true",
"problemMatcher": []
}
]
}