Add Deep Agents UI, pipeline fixes, and agent improvements.
Includes deep-agents-ui integration, rework detection via Gitea, tool-call sanitization fixes, and startup scripts.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Запуск LangGraph API для brojs-agent
|
||||
$ErrorActionPreference = "Stop"
|
||||
$Root = Split-Path -Parent $PSScriptRoot
|
||||
Set-Location $Root
|
||||
|
||||
$env:PYTHONUTF8 = "1"
|
||||
$env:PYTHONIOENCODING = "utf-8"
|
||||
|
||||
$venvPython = Join-Path $Root "venvv\Scripts\python.exe"
|
||||
$venvLanggraph = Join-Path $Root "venvv\Scripts\langgraph.exe"
|
||||
if (Test-Path $venvPython) {
|
||||
$python = $venvPython
|
||||
$langgraph = $venvLanggraph
|
||||
} else {
|
||||
$python = "python"
|
||||
$langgraph = "langgraph"
|
||||
}
|
||||
|
||||
& $python -m pip show langgraph-cli 2>$null | Out-Null
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "Installing langgraph-cli..."
|
||||
& $python -m pip install "langgraph-cli[inmem]"
|
||||
}
|
||||
|
||||
Write-Host "Starting LangGraph dev server on http://127.0.0.1:2024"
|
||||
Write-Host "Graphs: agent (chat), pipeline (batch)"
|
||||
& $langgraph dev --allow-blocking --port 2024
|
||||
Reference in New Issue
Block a user