This commit is contained in:
2025-09-26 17:15:54 +08:00
commit db0e5965ec
211 changed files with 40437 additions and 0 deletions

71
vw-agentic-rag/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,71 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Agentic RAG Service",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/debug_service.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"args": [],
"justMyCode": false,
"stopOnEntry": false
},
{
"name": "Debug Service with uvicorn",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
"service.main:app",
"--host", "0.0.0.0",
"--port", "8000",
"--reload",
"--log-level", "debug"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"justMyCode": false,
"stopOnEntry": false
},
{
"name": "Run Tests",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"-v",
"tests/"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"justMyCode": false
},
{
"name": "Run Streaming Test",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/scripts/test_real_streaming.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"justMyCode": false
}
]
}

96
vw-agentic-rag/.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,96 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Service",
"type": "shell",
"command": "./scripts/start_service.sh",
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Stop Service",
"type": "shell",
"command": "./scripts/stop_service.sh",
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Install Dependencies",
"type": "shell",
"command": "uv",
"args": ["sync"],
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Run Tests",
"type": "shell",
"command": "uv",
"args": ["run", "pytest", "-v"],
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"options": {
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
}
},
"problemMatcher": []
},
{
"label": "Run Streaming Test",
"type": "shell",
"command": "uv",
"args": ["run", "python", "scripts/test_real_streaming.py"],
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"options": {
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
}
},
"problemMatcher": []
}
]
}