mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Cleaned the concurrent session's half-rebrand inconsistency (166 files): - pip/pypi refs hanzoflow -> hanzo-flow (matches hanzo-flow-base/sdk) - module paths/commands/devcontainer hanzoflow -> flow (the import name + CLI) - env vars HANZOFLOW_ -> FLOW_ (was inconsistent with the LANGFLOW_->FLOW_ sweep) - fixed a stale src/backend/base/hanzoflow/ path that didn't exist - product display HanzoFlow -> 'Hanzo Flow' in docs; kept HanzoFlow only as a code identifier where a space is illegal Canonical: pip install hanzo-flow / import flow / `flow` CLI. compileall clean.
95 lines
2.1 KiB
JSON
95 lines
2.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
|
|
{
|
|
"name": "Debug Backend",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"preLaunchTask": "Install Backend",
|
|
|
|
"args": [
|
|
"--factory",
|
|
"flow.main:create_app",
|
|
"--port",
|
|
"7860",
|
|
"--reload",
|
|
"--log-level",
|
|
"debug",
|
|
"--loop",
|
|
"asyncio",
|
|
"--reload-include",
|
|
"./src/backend/*",
|
|
"--reload-include",
|
|
"./src/lfx/*",
|
|
"--reload-exclude",
|
|
"*.db*",
|
|
"--reload-exclude",
|
|
"./tmp_toolguard/*"
|
|
],
|
|
"jinja": true,
|
|
"justMyCode": false,
|
|
"env": {
|
|
"FLOW_LOG_LEVEL": "debug",
|
|
"FLOW_PROMETHEUS_PORT": "9090"
|
|
},
|
|
"envFile": "${workspaceFolder}/.env"
|
|
},
|
|
{
|
|
"name": "Debug CLI",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "flow",
|
|
"args": [
|
|
"run",
|
|
"--frontend-path",
|
|
"${workspaceFolder}/src/backend/base/flow/frontend",
|
|
"--env-file",
|
|
"${workspaceFolder}/.env"
|
|
],
|
|
// "python": "/path/to/your/python_env/python", // Replace with the path to your Python executable
|
|
"jinja": true,
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "Python: Remote Attach",
|
|
"type": "debugpy",
|
|
"request": "attach",
|
|
"justMyCode": true,
|
|
"connect": {
|
|
"port": 5678
|
|
},
|
|
"pathMappings": [
|
|
{
|
|
"localRoot": "${workspaceFolder}",
|
|
"remoteRoot": "."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Debug Frontend",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000/",
|
|
"webRoot": "${workspaceRoot}/src/frontend"
|
|
},
|
|
{
|
|
"name": "Python: Debug Tests",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"purpose": ["debug-test"],
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false
|
|
},
|
|
{
|
|
"name": "Python Debugger: Python File",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal"
|
|
}
|
|
]
|
|
}
|